public JsonResult GetAllInfoByStudentId(int studentId) { StudenResultViewModel studentinfo = aEnrollCourseManager.GetAllStudentInfoByStudentId(studentId); return(Json(studentinfo, JsonRequestBehavior.AllowGet)); }