public ActionResult UpdateCalendar(string startDateRange, string endDateRange) { DateTime startDate = DateTime.Parse(startDateRange); DateTime endDate = DateTime.Parse(endDateRange); List <Sprint> sprints = _SprintService.GetSprintsWithinDateRange( SessionHelper.GetCurrentProductId(User.Identity.Name, Session), startDate, endDate); List <Release> releases = _ReleaseService.GetReleasesWithinDateRange( SessionHelper.GetCurrentProductId(User.Identity.Name, Session), startDate, endDate); JsonSchedule jsonSchedule = new JsonSchedule(releases, sprints, startDate, endDate); return(new SecureJsonResult(jsonSchedule)); }