public ActionResult EventChartData(int periodSelectionKind, short?eventTypeId = null, int?userId = null, int?courseId = null, int?bundleId = null, int?storeId = null) { var kind = periodSelectionKind.ToPeriodSelectionKind(); var facts = _reportServices.GetEventStatsData(kind, userId, eventTypeId, courseId, bundleId, storeId); return(Json(facts, JsonRequestBehavior.AllowGet)); }