public async Task DeleteIfExistAsync(Guid[] operationIds) { foreach (var operationId in operationIds) { await _storage.DeleteIfExistAsync(UnconfirmedTransactionEntity.GeneratePartitionKey(operationId), UnconfirmedTransactionEntity.GenerateRowKey(operationId)); } }
public async Task <IObservableOperation> GetByIdAsync(Guid opId) { return(await _storage.GetDataAsync(ObservableOperationEntity.ByOperationId.GeneratePartitionKey(opId), UnconfirmedTransactionEntity.GenerateRowKey(opId))); }
public Task InsertOrReplaceAsync(IUnconfirmedTransaction tx) { return(_storage.InsertOrReplaceAsync(UnconfirmedTransactionEntity.Create(tx))); }