@RequestMapping(
     value = {"/resources/{resourceId}/associated"},
     method = RequestMethod.GET)
 public List<CourseModuleNamesPairDto> getAllCourseModuleNamesPairsAssociatedWithResource(
     @PathVariable Long resourceId) {
   return courseService.getAllCourseModuleNamesPairsAssociatedWithResource(resourceId);
 }
 @RequestMapping(
     value = {"/courses/{courseId}"},
     method = RequestMethod.GET)
 public CourseJsonDto getCourse(@PathVariable Long courseId) {
   return dtoService.convert(courseService.getById(courseId), CourseJsonDto.class, Course.class);
 }
 @RequestMapping(
     value = {"/courses"},
     method = RequestMethod.GET)
 public List<CourseJsonDto> getCourses() {
   return dtoService.convert(courseService.getAll(), CourseJsonDto.class, Course.class);
 }