示例#1
0
        public ActionResult Prescriptions(int?id)
        {
            _nurseService.ChangePrescriptionStatus(id);
            var prescriptions = _nurseService.GetPrescriptions().ProjectToList <PrescriptionViewModel>();

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