class EventRegistrationService {

    public List<Registration> getAllWithEventId(String eventId) throws EntityNotFoundException {
        Event event = eventEntityService.getById(eventId);
        return registrationEntityService.getAllWith(event);
    }

    @Inject public  EventRegistrationService(
            EventEntityService eventEntityService,
            RegistrationEntityService registrationEntityService
    );

}