public async Task InsertOrReplace(ICoin coin)
        {
            var entity = CoinEntity.CreateCoinEntity(coin);
            var index  = AzureIndex.Create(_addressIndexName, coin.AdapterAddress, entity);

            await _table.InsertOrReplaceAsync(entity);

            await _addressIndex.InsertAsync(index);
        }
Ejemplo n.º 2
0
 public async Task InsertOrReplace(ICoin coin)
 {
     await _table.InsertOrReplaceAsync(CoinEntity.CreateCoinEntity(coin));
 }