class EventRegistrationService {

    public Registration add(RegistrationAddPayload addPayload) throws AddEntityException, EntityNotFoundException {
        addPayload.setEvent(eventEntityService.getById(addPayload.getEventId()));
        return registrationEntityService.add(addPayload);
    }

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

}