23 lines
527 B
C#
23 lines
527 B
C#
using CarShowroomContracts.AbstractModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarShowroomDataModels.Views
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|