public ActionResult Index() { var patients = patientBusinessLayer.GetAllPatients(Session["Role"].ToString(), int.Parse(Session["UserId"].ToString())); Logging.loggInfo("Showing list of all patients to user"); return(View(patients.ToList())); }
public ActionResult Index() { var patients = patientBusinessLayer.GetAllPatients(Session["Role"].ToString(), int.Parse(Session["UserId"].ToString())); Logging.loggInfo("Showing list of all patients to user"); return(View(patients.ToList())); }