public ActionResult ShowDisciplineStatistic(int[] selectedCurriculumId) { var selectedGroup = LmsService.FindService<IUserService>().GetGroup((int)HttpContext.Session["SelectedGroupId"]); ViewData["selectGroupName"] = selectedGroup.Name; IEnumerable<User> users = LmsService.FindService<IUserService>().GetUsersByGroup(selectedGroup); var srp = new SpecializedResultProxy(); AllSpecializedResults allSpecRes = srp.GetResults(users, selectedCurriculumId, LmsService); return View(allSpecRes); }
public ActionResult ShowCurriculumStatistic(int[] selectCurriculumId) { ViewData["selectGroupName"] = LmsService.FindService<IUserService>().GetGroup((int)HttpContext.Session["SelectedGroupId"]).Name; IEnumerable<User> users = LmsService.FindService<IUserService>().GetUsersByGroup(LmsService.FindService<IUserService>().GetGroup((int)HttpContext.Session["SelectedGroupId"])); AllSpecializedResults allSpecRes = new AllSpecializedResults(); SpecializedResultProxy srp = new SpecializedResultProxy(); allSpecRes = srp.GetResults(users, selectCurriculumId, LmsService); return View(allSpecRes); }