public ReceptionViewModel(ReceptionComposite rec) { Doctor = new DoctorModel(rec.Doctor); Patient = new PatientModel(rec.Patient); Schedule = new ScheduleModel(rec.Shedule); Reception = new ReceptionModel(rec.Reception); }
public ReceptionViewModel() { Doctor = new DoctorModel(); Patient = new PatientModel(); Schedule = new ScheduleModel(); Reception = new ReceptionModel(); }