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)); }
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)); }