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