public UserOrderView(int orderId, List <Service> servicesList, int totalPrice, CarView userCar, DateTime selectedDateTime) { OrderId = orderId; ServicesList = servicesList; TotalPrice = totalPrice; UserCar = userCar; this.selectedDateTime = selectedDateTime.ToShortDateString(); }
public ServicesSummaryAdminView(int summaryId, ApplicationUser user, List <Service> servicesList, int totalPrice, CarView car, DateTime date, bool status) { SummaryId = summaryId; User = user; ServicesList = servicesList; TotalPrice = totalPrice; Car = car; Date = date; IsCompleted = status; }