23 lines
537 B
C#
23 lines
537 B
C#
|
using CarShowroomContracts.AbstractModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace CarShowroomDatabaseStorage.Entities
|
|||
|
{
|
|||
|
internal class Service : IService
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public int Cost { get; set; }
|
|||
|
public Service(IService service)
|
|||
|
{
|
|||
|
Id = service.Id;
|
|||
|
Name = service.Name;
|
|||
|
Cost = service.Cost;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|