class TodoController {

    @RequestMapping(method = RequestMethod.GET)
    public List<TodoDTO> findAll() {
        LOGGER.info("Finding all todo entries");

        List<TodoDTO> todoEntries = crudService.findAll();

        LOGGER.info("Found {} todo entries.");

        return todoEntries;
    }

    @Autowired public  TodoController(TodoCrudService crudService, TodoSearchService searchService);

}