class CmsConsentController implements CmsConsentApi {

    @Override
    public ResponseEntity<Void> findAndTerminateOldConsentsByNewConsentId(String encryptedConsentId) {
        consentServiceEncrypted.findAndTerminateOldConsentsByNewConsentId(encryptedConsentId);
        return ResponseEntity.noContent().build();
    }

}