class EventServiceRestClientImpl implements Xs2aEventServiceEncrypted {

    @Override
    public boolean recordEvent(@NotNull EventBO event) {
        return consentRestTemplate.postForEntity(eventRemoteUrls.createEvent(), event, Boolean.class).getBody();
    }

}