Example #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);
        }
Example #2
0
        public Task AddAssetPairAsync(IIntrinsicEventIndicatorsRow row)
        {
            var entity = IntrinsicEventIndicatorsEntity.CreateForAssetPair(row);

            return(_storage.InsertAsync(entity));
        }
Example #3
0
 public async Task RemoveColumnAsync(string columnId)
 {
     await _storage.DeleteAsync(IntrinsicEventIndicatorsEntity.GeneratePartitionKeyForColumn(), columnId);
 }
Example #4
0
        public Task AddColumnAsync(IIntrinsicEventIndicatorsColumn column)
        {
            var entity = IntrinsicEventIndicatorsEntity.CreateForColumn(column);

            return(_storage.InsertAsync(entity));
        }
Example #5
0
 public async Task <IEnumerable <IIntrinsicEventIndicatorsRow> > GetRowsAsync()
 {
     return(await _storage.GetDataAsync(IntrinsicEventIndicatorsEntity.GeneratePartitionKeyForRow()));
 }
Example #6
0
 public async Task RemoveAssetPairAsync(string rowId)
 {
     await _storage.DeleteAsync(IntrinsicEventIndicatorsEntity.GeneratePartitionKeyForRow(), rowId);
 }