示例#1
0
 public async Task <ITradingCondition> GetAsync(string tradingConditionId)
 {
     return(await _tableStorage.GetDataAsync(TradingConditionEntity.GeneratePartitionKey(), TradingConditionEntity.GenerateRowKey(tradingConditionId)));
 }
示例#2
0
 public async Task AddOrReplaceAsync(ITradingCondition condition)
 {
     await _tableStorage.InsertOrReplaceAsync(TradingConditionEntity.Create(condition));
 }