2024-05-03 10:59:33 +04:00
|
|
|
|
using CarShowroomContracts.AbstractModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-05-05 19:18:53 +04:00
|
|
|
|
namespace CarShowroomContracts.Views
|
2024-05-03 10:59:33 +04:00
|
|
|
|
{
|
|
|
|
|
public class ServiceView : IService
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public int Cost { get; set; }
|
|
|
|
|
public ServiceView(IService model)
|
|
|
|
|
{
|
|
|
|
|
Id = model.Id;
|
|
|
|
|
Name = model.Name;
|
|
|
|
|
Cost = model.Cost;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|