get_teaching_and_learning_ids returns all courses