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

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