public JsonResult GetCourseByStudent(int studentId) { List <EnrollCourse> courses = studentResultManager.GetCourseByStudentId(studentId); return(Json(courses)); }