Example #1
0
        public ActionResult ParameterPage()
        {
            ParameterPageModel ppm = new ParameterPageModel();
            DataAccessLayer    da  = new DataAccessLayer();

            ppm.GroupTopics = da.GetListOfGroupTopics();

            ppm.GroupDate = null;

            ViewBag.CurrentDate = DateTime.Now.ToString("MM/dd/yyyy");

            return(View(ppm));
        }
Example #2
0
 public ActionResult ParameterPage(ParameterPageModel ppm)
 {
     return(RedirectToAction("Index", new { Facility = ppm.SelectedFacility, GroupTopic = ppm.SelectedGroupTopic, GroupDate = ppm.GroupDate, LOC = ppm.SelectedLOC }));
 }