Exemple #1
0
 public async Task <IAccountGroup> GetAsync(string tradingConditionId, string baseAssetId)
 {
     return(await _tableStorage.GetDataAsync(AccountGroupEntity.GeneratePartitionKey(tradingConditionId),
                                             AccountGroupEntity.GenerateRowKey(baseAssetId)));
 }
Exemple #2
0
 public async Task AddOrReplaceAsync(IAccountGroup group)
 {
     await _tableStorage.InsertOrReplaceAsync(AccountGroupEntity.Create(group));
 }