Пример #1
0
        public JsonResult GetTeachers(int departmentId)
        {
            List <SaveTeacher> aSaveTeachers = anCourseAssignManager.GetAllTeacher();

            aSaveTeachers = aSaveTeachers.FindAll(x => x.DepartmentId == departmentId).ToList();
            return(Json(aSaveTeachers));
        }