24 lines
545 B
C#
24 lines
545 B
C#
using CarShowroomContracts.AbstractModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarShowroomDataModels.Views
|
|
{
|
|
public class ServiceView : IService
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public int Price { get; set; }
|
|
public ServiceView(IService model)
|
|
{
|
|
Id = model.Id;
|
|
Name = model.Name;
|
|
Price = model.Price;
|
|
}
|
|
public ServiceView() { }
|
|
}
|
|
}
|