Make CRUD service independent do DoctrineRepository.