public ActionResult Index() { ReportDateRangeModel model = new ReportDateRangeModel(); model.BeginDate = DateTime.Today; model.EndDate = DateTime.Today; return View(model); }
public ActionResult Index(ReportDateRangeModel model) { SecondaryIncidentDispatcherReport reportInfo = Provider.GetSecondaryIncidentDispatcherReport(model.BeginDate, model.EndDate); return View("Report", reportInfo); }