class CmsAccountController implements CmsAccountApi {

    @Override
    public ResponseEntity<Boolean> saveNumberOfTransactions(String encryptedConsentId, String resourceId, Integer numberOfTransactions) {
        return accountServiceEncrypted.saveNumberOfTransactions(encryptedConsentId, resourceId, numberOfTransactions)
                   ? new ResponseEntity<>(true, HttpStatus.OK)
                   : new ResponseEntity<>(HttpStatus.NOT_FOUND);
    }

}