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