//loads a list of doctors who can be assigned to this patient private Patient LoadDDLOptions(Patient p) { p.DoctorsList = Consts.GetDoctorsDDL(); return(p); }
//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); }