class RepositoryTodoCrudService implements TodoCrudService {

    @Transactional
    @Override
    public TodoDTO update(TodoDTO dto) {
        LOGGER.info("Updating the information of a todo entry: {}", dto);

        Todo newInformation = createModel(dto);
        Todo updated = repository.update(newInformation);

        LOGGER.debug("Updated the information of a todo entry: {}", updated);

        return transformer.convert(updated, new TodoDTO());
    }

    @Autowired public  RepositoryTodoCrudService(TodoRepository repository, JTransfo transformer);

}