Make the entity repository from services