public DoctorMV openPatientCreate(int id = 0, DoctorMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new DoctorMV(); } if (id != 0 && model != null) { var _class = clinic.DoctorTBLs.Find(id); model.areaname = _class.AreaTBL.AreaName; model.Areaid = _class.Areaid; model.cityname = _class.CityTBL.CityName; model.Cityid = _class.Cityid; model.Arealist = look.fillarea(model.Cityid); model.spec = _class.SpecialtyTBL.SpecialtyName; model.Specialtyid = _class.Specialtyid; } model.citylist = look.fillcity(); model.speclist = look.fillspec(); return model; }
public PatientMV openPatientCreate(int id = 0, PatientMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new PatientMV(); } if (id != 0 && model != null) { var _class = clinic.PatientTBLs.Find(id); model.areaname = _class.AreaTBL.AreaName; model.Areaid = _class.Areaid; model.cityname = _class.CityTBL.CityName; model.cityid = _class.cityid; model.Arealist = look.fillarea(model.cityid); } model.citylist = look.fillcity(); return(model); }
public DoctorAppointmentsMV openFileDetalesCreate(DoctorAppointmentsMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new DoctorAppointmentsMV(); } model.DoctorList = look.filldoctor(); return(model); }
public BookingMV openbookingCreate(BookingMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new BookingMV(); } model.PatientList = look.fillpatient(); model.SpecList = look.fillspec(); return(model); }
public MedicalFileDetalisMV openFileDetalesCreate(MedicalFileDetalisMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new MedicalFileDetalisMV(); } model.doctorlist = look.filldoctor(); return(model); }
public MedicalFilesMV openPatientCreate(MedicalFilesMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new MedicalFilesMV(); } model.patientlist = look.fillpatient(); return(model); }
public MedicalFileMedicinMV openmedicinCreate(MedicalFileMedicinMV model = null) { LookupBussiness look = new LookupBussiness(); if (model == null) { model = new MedicalFileMedicinMV(); } model.listmedical = look.fillMedicin(); return(model); }