Пример #1
0
        public ActionResult SaveStudentResult()
        {
            var studentList = _studentRegisterManager.GetAllStudents();

            ViewBag.Students = new SelectList(studentList, "StudentId", "RegNumber");
            var gradeList = _studentResultManager.GetGradeList();

            ViewBag.Grades = new SelectList(gradeList, "GradeId", "GradeName");
            return(View());
        }