public ActionResult LoadMonthlyTracerBreakdownChart(Search search) { try { ViewBag.Header = HelperClasses.GetMonthsList(search.StartDate, search.EndDate); var tcService = new MonthlyBreakdownService(); search = tcService.GetReportValuesForSearch(search); return(PartialView("MonthlyTracerBreakdownChart", search)); } catch (Exception ex) { ExceptionLog exceptionLog = new ExceptionLog { ExceptionText = "Reports: " + ex.Message, PageName = "MonthlyTracerBreakdown", MethodName = "LoadMonthlyTracerBreakdownChart", UserID = Convert.ToInt32(AppSession.UserID), SiteId = Convert.ToInt32(AppSession.SelectedSiteId), TransSQL = "", HttpReferrer = null }; exceptionService.LogException(exceptionLog); return(RedirectToAction("Error", "Transfer")); } }
public ActionResult LoadMonthlyTracerBreakdown(DateTime?StartDate, DateTime?EndDate) { ViewBag.Header = HelperClasses.GetMonthsList(StartDate, EndDate); return(PartialView("MonthlyTracerBreakdown")); }