public async Task <double[]> GetAsync(string assetPairId) { var entity = await _tableStorage.GetDataAsync(FeedHoursHistoryEntity.GeneratePartition(), FeedHoursHistoryEntity.GenerateRowKey(assetPairId)); return(GetData(entity)); }
public async Task <Dictionary <string, double[]> > GetAllAsync() { var entities = await _tableStorage.GetDataAsync(FeedHoursHistoryEntity.GeneratePartition()); return(entities.ToDictionary(entity => entity.RowKey, GetData)); }