Exemplo n.º 1
0
        public ActionResult CreateDiseasePrescription()
        {
            var listDiseases      = _serviceDisease.GetAllDiseases();
            var listPrescriptions = _servicePrescription.GetAllPrescriptions();

            ViewBag.Diseases      = listDiseases;
            ViewBag.Prescriptions = listPrescriptions;

            return(View());
        }
Exemplo n.º 2
0
        public ActionResult Index()
        {
            var listData = _servicePrescription.GetAllPrescriptions();

            return(View(listData));
        }