コード例 #1
0
        public ActionResult Index(CourseRelativeViewModel model)
        {
            model.courseGroupViewModel.courseGroupList = searchCourseGroup(model.courseGroupViewModel);
            model.courseViewModel.CoursePagedList      = searchCourse(model.courseViewModel);
            model.teacherViewModel.teacherPagedList    = searchTeacher(model.teacherViewModel);
            model.studentViewModel.studentPagedList    = searchStudent(model.studentViewModel);

            ViewBag.groupList       = DropDownListHelper.getAppraiseGroupList(true);
            ViewBag.courseClassList = DropDownListHelper.getCourseClassList(true);
            ViewBag.memberTypeList  = DropDownListHelper.getMemberTypeList(true);
            return(View(model));
        }
コード例 #2
0
        public ActionResult Index()
        {
            CourseRelativeViewModel model = new CourseRelativeViewModel();

            return(Index(model));
        }