class RepositoryTodoCrudService implements TodoCrudService {

    @Transactional
    @Override
    public TodoDTO add(TodoDTO dto) {
        LOGGER.info("Adding todo entry with information: {}", dto);

        Todo added = createModel(dto);
        Todo persisted = repository.add(added);

        LOGGER.info("Added todo entry with information: {}", persisted);

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

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

}