SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDataModels/Dtos/ClientDto.cs

25 lines
599 B
C#
Raw Normal View History

2024-05-03 10:27:07 +04:00
using CarShowroomDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomContracts.Dtos
{
public class ClientDto : IClient
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public ClientDto(IClient model)
{
Id = model.Id;
Name = model.Name;
Email = model.Email;
Password = model.Password;
}
}
}