Using the entity repositories