Exemplo n.º 1
0
        public ActionResult List()
        {
            // Get all the grades for the currently logged in student.
            var student = Student;
            var grades  = _gradeRepository.GetByStudent(student.Id);

            return(View(grades));
        }