public async Task InsertAsync(ICashinEvent cashinEvent) { var @event = CashinEventEntity.CreateEntity(cashinEvent); await _table.InsertOrReplaceAsync(@event); }
public async Task <ICashinEvent> GetAsync(string transactionHash) { var entity = await _table.GetDataAsync(CashinEventEntity.GetPartitionKey(), transactionHash); return(entity); }