Example #1
0
        public ActionResult Index()
        {
            var vm = new DoctorDashboardViewModel
            {
                AcceptedPatients = _patientProfileService.All().Count(),
                Prescription     = _prescriptionService.All().Count()
            };

            return(View(vm));
        }
Example #2
0
 public ActionResult PatientsList(List <PatientProfileModel> patients)
 {
     return(View("PatientsList", model: _patientProfileService.All()));
 }