示例#1
0
 //loads a list of doctors who can be assigned to this patient
 private Patient LoadDDLOptions(Patient p)
 {
     p.DoctorsList = Consts.GetDoctorsDDL();
     return(p);
 }
示例#2
0
 //loads lists of patients and doctors who can be assigned to a visit
 private Visit LoadDDLOptions(Visit v)
 {
     v.PatientsList = Consts.GetPatientsDDL();
     v.DoctorsList  = Consts.GetDoctorsDDL();
     return(v);
 }