Ejemplo n.º 1
0
 public static Erc20BlackListAddressesEntity Create(IErc20BlackListAddress whiteListAddress)
 {
     return(new Erc20BlackListAddressesEntity
     {
         PartitionKey = GetPartitionKey(whiteListAddress.Address),
         Address = GetRowKey(whiteListAddress.Address),
     });
 }
Ejemplo n.º 2
0
        public async Task SaveAsync(IErc20BlackListAddress address)
        {
            var entity = Erc20BlackListAddressesEntity.Create(address);

            await _table.InsertOrReplaceAsync(entity);
        }