public ActionResult Index() { var vm = new DoctorDashboardViewModel { AcceptedPatients = _patientProfileService.All().Count(), Prescription = _prescriptionService.All().Count() }; return(View(vm)); }
public ActionResult PatientsList(List <PatientProfileModel> patients) { return(View("PatientsList", model: _patientProfileService.All())); }