public async Task <bool> IsHistoryAddressExistsAsync(string address, HistoryAddressCategory category) { return(await _historyAddressesStorage.RecordExistsAsync(new HistoryAddressEntity() { PartitionKey = GetHistoryPartitionKey(address), RowKey = GetHistoryRowKey(category) })); }
public async Task <bool> IsBalanceAddressExistsAsync(string address) { return(await _balanceAddressesStorage.RecordExistsAsync(new BalanceAddressEntity() { PartitionKey = GetBalancePartitionKey(address), RowKey = GetBalanceRowKey() })); }
public async Task <bool> ExistsAsync(string key) { var t = new T { RowKey = key, PartitionKey = "ByRowKey" }; return(await _azureRepo.RecordExistsAsync(t)); }
public Task <bool> RecordExistsAsync(T item) { var cryptoItem = Encrypt(item); return(_storage.RecordExistsAsync(cryptoItem)); }
public Task <bool> RecordExistsAsync(TEntity item) { return(_retryService.RetryAsync(() => _impl.RecordExistsAsync(item), _onGettingRetryCount)); }
public Task <bool> RecordExistsAsync(T item) { return(_table.RecordExistsAsync(item)); }
public Task <bool> RecordExistsAsync(TEntity item) => WrapAsync(() => _impl.RecordExistsAsync(item), nameof(RecordExistsAsync), item);
public Task <bool> IsDialogSubmittedAsync(string clientId, string dialogId, string actionId) { return(_tableStorage.RecordExistsAsync(ClientDialogSubmitEntity.Create(clientId, dialogId, actionId))); }
public async Task <bool> IsObservedAsync(string address) => await _walletStorage.RecordExistsAsync(new DepositWalletEntity(address));
public Task <bool> RecordExistsAsync(TEntity item) => WrapAsync(() => _impl.RecordExistsAsync(item), Name);