public JsonResult GetInfoByOrganizationId(int id) { if (id > 0) { var dataList = _batchManager.GetAllCourse().Where(x => x.OrganizationId == id).ToList(); return(Json(dataList)); } return(null); }