Exemple #1
0
        public void AddControlForMicrosoftSeminars(SimplePageVM model)
        {
            var groups = CourseListVMService.GetSeminars(false)
                         .GroupSeminars.Where(x => x.Group.IsMicrosoftseminar).ToList();
            var msSeminars = GroupService.GetPlannedAndNotBegin().Where(
                x => CourseTC.MsSeminars.Contains(x.Course_TC))
                             .Select(x => new GroupSeminar(x)).ToList();

            model.Controls.Add(
                new SimplePageVM.Control(Views.Shared.Education.SeminarList,
                                         groups));
            if (msSeminars.Any())
            {
                model.Controls.Add(
                    new SimplePageVM.Control(Views.Shared.Education.SeminarList,
                                             msSeminars, "Расписание семинаров First Look"));
            }
        }
Exemple #2
0
        public ActionResult Consultations()
        {
            var model = CourseListVMService.GetSeminars(true);

            return(View(ViewNames.Seminars, model));
        }
Exemple #3
0
        public ActionResult Seminars()
        {
            var model = CourseListVMService.GetSeminars(false);

            return(View(model));
        }