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