Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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;
 }