Controllers/CourseController.cs: modified