class TodoController {

    @RequestMapping(value = "/{id}", method = RequestMethod.GET)
    public TodoDTO findById(@PathVariable("id") Long id) {
        LOGGER.info("Finding todo entry with id: {}", id);

        TodoDTO found = crudService.findById(id);

        LOGGER.info("Found todo entry: {}", found);

        return found;
    }

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

}