public CustomerDrivingHistoryVM(CustomerDrivingHistory x) { if (x != null) { Id = x.Id; DateRecorded = x.DateRecorded; CustomerID = x.CustomerID; NumDUIs = x.NumDUIs; NumSpeedingTickets = x.NumSpeedingTickets; Customer = new CustomerVM(x.Customer); } }
public IndexViewAndCustomerVM(IndexViewModel x, CustomerVM y) { indexVM = x; custVM = y; }
public RegisterAndCustomerVM(RegisterViewModel x, CustomerVM y) { regVM = x; custVM = y; }