Пример #1
0
 public ReceptionViewModel(ReceptionComposite rec)
 {
     Doctor    = new DoctorModel(rec.Doctor);
     Patient   = new PatientModel(rec.Patient);
     Schedule  = new ScheduleModel(rec.Shedule);
     Reception = new ReceptionModel(rec.Reception);
 }
Пример #2
0
 public RegisterDoctorModel(DoctorComposite db)
 {
     Doctor       = new DoctorModel(db.Doctor);
     User         = new UserModel(db.User);
     Areas        = new List <AreaModel>();
     Specialities = new List <SpecialityModel>();
 }
Пример #3
0
 public ReceptionViewModel()
 {
     Doctor    = new DoctorModel();
     Patient   = new PatientModel();
     Schedule  = new ScheduleModel();
     Reception = new ReceptionModel();
 }
Пример #4
0
 public RegisterDoctorModel()
 {
     Doctor       = new DoctorModel();
     User         = new UserModel();
     Areas        = new List <AreaModel>();
     Specialities = new List <SpecialityModel>();
 }