Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public JsonResult GetTeacherCourseByDepartmentId(int id) { var teacherInfo = anDepartmentManager.GetTeacherByDepartmentId(id); var courseInfo = anDepartmentManager.GetCourseByDepartmentId(id); Department department = new Department(); department.Courses = courseInfo; department.Teachers = teacherInfo; return(Json(department)); }