public void MakeCarServiceFromEntity(ITAPP_CarWorkshopService.Car_Services entityProfile) { CarID = entityProfile.Car_ID; Mileage = entityProfile.Mileage; ServiceDate = entityProfile.Service_date; ServiceDescription = entityProfile.Service_description; ServiceID = entityProfile.Service_ID; WorkshopID = entityProfile.Workshop_ID; }
public CarServiceModel(ITAPP_CarWorkshopService.Car_Services entityService) { MakeCarServiceFromEntity(entityService); }