public Patient GetPatient(int id) { try { return(patientDAO.GetPatient(id)); } catch (Exception) { throw; } }
// GET: Patient public ActionResult Index() { var patient = patientDAO.GetPatient(); return(View(patient)); }
public Patient GetPatient(int id) { try { return(patientDAO.GetPatient(id)); } catch (Exception) { throw; } }
// GET: Patient public ActionResult Index() { var patient = patientDAO.GetPatient(); return(View(patient)); }