public JsonResult GetCourseInfoById(int id) { var courseInfo = anDepartmentManager.GetCourseInfoById(id); return(Json(courseInfo)); }