public ActionResult Index() { Patient patient = new Patient { getAllPatienstList = patientPortal.selectAll(), getRoomType = patientPortal.getRoomType(), getAllDoctorsName = doctorPortal.getAllDoctorsName() }; return(View(patient)); }
public ActionResult Index() { return(View(patientPortal.selectAll())); }