class RepositoryTodoCrudService implements TodoCrudService {

    @Transactional
    @Override
    public TodoDTO delete(Long id) {
        LOGGER.info("Deleting todo entry with id: {}", id);

        Todo deleted = repository.delete(id);

        LOGGER.info("Deleted to entry with id: {}", id);

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

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

}