public ActionResult GetRevenueByGroup(int?month, int?year, int?officeId) { DateTimesForMonth times = getDatesForMonth(month, year); return(Json(_dashboardBusiness.GetRevenueByGroup(times.StartOfMonth, times.EndOfMonth, officeId), JsonRequestBehavior.AllowGet)); }