21 lines
442 B
C#
21 lines
442 B
C#
using CarShowroomContracts.AbstractModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarShowroomDataModels.Dtos
|
|
{
|
|
public class MakeDto : IMake
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public MakeDto(IMake model)
|
|
{
|
|
Id = model.Id;
|
|
Name = model.Name;
|
|
}
|
|
}
|
|
}
|