Add getDepartmentCourses db api