2024-05-03 10:59:33 +04:00
|
|
|
|
using CarShowroomContracts.AbstractModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-05-05 22:02:53 +04:00
|
|
|
|
namespace CarShowroomDataModels.Views
|
2024-05-03 10:59:33 +04:00
|
|
|
|
{
|
|
|
|
|
public class MakeView : IMake
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Название марки")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public MakeView(IMake model)
|
|
|
|
|
{
|
|
|
|
|
Id = model.Id;
|
|
|
|
|
Name = model.Name;
|
2024-05-13 12:37:11 +04:00
|
|
|
|
}
|
|
|
|
|
public MakeView() { }
|
|
|
|
|
}
|
2024-05-03 10:59:33 +04:00
|
|
|
|
}
|