public JsonResult GetCourseId(int courseId) { List <Course> courseAssignViews = courseAssignToTeacherManager.GetCourseCode(courseId); return(Json(courseAssignViews)); }