Ejemplo 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();
 }
Ejemplo 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;
 }