Пример #1
0
        public ActionResult Prescriptions()
        {
            var prescriptions = _nurseService.GetPrescriptions().ProjectToList <PrescriptionViewModel>();

            if (prescriptions != null)
            {
                return(View(prescriptions));
            }
            return(HttpNotFound());
        }