Beispiel #1
0
 public async Task DeleteIfExist(Guid[] operationIds)
 {
     foreach (var operationId in operationIds)
     {
         await _storage.DeleteIfExistAsync(UnconfirmedTransactionEntity.GeneratePartitionKey(),
                                           UnconfirmedTransactionEntity.GenerateRowKey(operationId));
     }
 }
Beispiel #2
0
 public async Task <IEnumerable <IUnconfirmedTransaction> > GetAll()
 {
     return(await _storage.GetDataAsync(UnconfirmedTransactionEntity.GeneratePartitionKey()));
 }