public ActionResult AllPatients() { var repo = new PatientRepository(); var patients = repo.AllPatients(); return(View(patients)); }