public async Task <bool> InsertIfNotExistsAsync(IBalanceChangeTransaction balanceChangeTransaction) { var entity = BalanceChangeTransactionEntity.Create(balanceChangeTransaction); return(await _tableStorage.CreateIfNotExistsAsync(entity)); }
public async Task <IEnumerable <IBalanceChangeTransaction> > GetAsync(string hash) { return(await _tableStorage.GetDataAsync(BalanceChangeTransactionEntity.GeneratePartition(hash))); }