public JsonResult GetCoursesById(StudentResult studentResult) { List <Course> Courses = StudentResultManager.GetCoursesByStudentId(studentResult.StudentId).ToList(); return(Json(Courses)); }