예제 #1
0
        // GET: Prescription/Details/5
        public ActionResult Details(int id)
        {
            IBL bl  = new BLImplement();
            var pvm = new PrescriptionViewModel(bl.getAllPrescriptions().FirstOrDefault(x => x.Id == id));

            ViewBag.Patient = pvm.Patient;
            return(View(pvm));
        }