public async ValueTask <Dictionary <string, IEnumerable <IOvershootIndicatorData> > > GetAsync()
        {
            var partitionKey = OvershootIndicatorNoSqlEntity.GeneratePartitionKey();

            var result = await _tableData.GetAsync(partitionKey);

            return(result.ToDictionary(itm => itm.GetAssetPair(),
                                       itm => itm.Overshoots.Cast <IOvershootIndicatorData>()));
        }
 public async ValueTask UpdateAsync(IEnumerable <KeyValuePair <string, IEnumerable <IOvershootIndicatorData> > > indicatorData)
 {
     var entities = indicatorData.Select(kvp => OvershootIndicatorNoSqlEntity.Create(kvp.Key, kvp.Value)).ToArray();
     await _tableData.BulkInsertOrReplaceAsync(entities);
 }