public ActionResult _DailyStats(short?sPeriod) { var period = sPeriod == null ? ReportEnums.ePeriodSelectionKinds.lastMonth : Utils.ParseEnum <ReportEnums.ePeriodSelectionKinds>(sPeriod.ToString()); var facts = _reportServices.GetDailyStatsData(period); return(PartialView("Report/_DashboardDailyStatsCharts", facts)); }