public AppointmentCreateDTO(AppointmentCreateViewModel model)
 {
     PropertyId = model.PropertyId;
     AgentId = model.AgentId;
     AppointmentDate = (DateTime)model.AppointmentDate;
     AppointmentDescription = model.AppointmentDescription;
 }
Beispiel #2
0
 public NonRegisteredUserCreateDTO(AppointmentCreateViewModel model)
 {
     ClientName        = model.ClientName;
     ClientPhoneNumber = model.ClientPhoneNumber;
     ClientEmail       = model.ClientEmail;
 }