public async Task SetTxHashAsync(Guid operationId, string txHash)
        {
            var entities = await _storage.GetDataAsync(InternalOutputEntity.GeneratePartitionKey(operationId));

            foreach (var internalOutputEntity in entities)
            {
                var updatedEntity = await _storage.ReplaceAsync(InternalOutputEntity.GeneratePartitionKey(operationId),
                                                                InternalOutputEntity.GenerateRowKey(internalOutputEntity.N),
                                                                entity =>
                {
                    entity.TransactionHash = txHash;
                    return(entity);
                });

                await _indexByAddress.InsertOrReplaceAsync(IndexByAddress.Create(updatedEntity));

                await _indexByTransactionHash.InsertOrReplaceAsync(IndexByTransactionHash.Create(updatedEntity));
            }
        }
 internal static AzureIndex Create(InternalOutputEntity internalOutput)
 {
     return(AzureIndex.Create(GeneratePartitionKey(internalOutput.TransactionHash),
                              GenerateRowKey(internalOutput.N), internalOutput));
 }