Example #1
0
        public ActionResult DiseaseWiseReport(DiseaseDate diseaseDate)
        {
            var diseaseList = headManager.GetDiseaseList();

            ViewBag.DiseaseList = new SelectList(diseaseList, "Id", "Name");

            if (!ModelState.IsValid)
            {
                return(View(diseaseDate));
            }
            ViewBag.DiseaseWiseReport = headManager.GetDiseaseWiseReports(diseaseDate);

            return(View());
        }