Exemple #1
0
        public async Task EditAssetPairAsync(IIntrinsicEventIndicatorsRow row)
        {
            var entity = await _storage.GetDataAsync(IntrinsicEventIndicatorsEntity.GeneratePartitionKeyForRow(), row.RowId);

            entity.PairName = row.PairName;

            await _storage.ReplaceAsync(entity);
        }
Exemple #2
0
 public async Task <IEnumerable <IIntrinsicEventIndicatorsRow> > GetRowsAsync()
 {
     return(await _storage.GetDataAsync(IntrinsicEventIndicatorsEntity.GeneratePartitionKeyForRow()));
 }
Exemple #3
0
 public async Task RemoveAssetPairAsync(string rowId)
 {
     await _storage.DeleteAsync(IntrinsicEventIndicatorsEntity.GeneratePartitionKeyForRow(), rowId);
 }