23 lines
534 B
C#
23 lines
534 B
C#
using CarShowroomDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarShowroomDataModels.Dtos
|
|
{
|
|
public class ClientDto : IClient
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string PhoneNumber { get; set; }
|
|
public ClientDto(IClient model)
|
|
{
|
|
Id = model.Id;
|
|
Name = model.Name;
|
|
PhoneNumber = model.PhoneNumber;
|
|
}
|
|
}
|
|
}
|