Beispiel #1
0
        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));
        }
Beispiel #2
0
        public ActionResult ShowDisciplineStatistic(int[] selectDisciplineId)
        {
            var selectedGroup = LmsService.FindService <IUserService>().GetGroup((int)HttpContext.Session["SelectedGroupId"]);

            ViewData["selectGroupName"] = selectedGroup.Name;
            IEnumerable <User>     users      = LmsService.FindService <IUserService>().GetUsersByGroup(selectedGroup);
            SpecializedResultProxy srp        = new SpecializedResultProxy();
            AllSpecializedResults  allSpecRes = srp.GetResults(users, selectDisciplineId, LmsService);

            return(View(allSpecRes));
        }