Пример #1
0
 private async Task ClearCache(int tradePairId)
 {
     await CacheService.InvalidateAsync
     (
         CacheKey.ExchangeTradeHistory(tradePairId),
         CacheKey.ExchangeOrderBook(tradePairId),
         //CacheKey.ExchangeStockChart(tradePairId, 30),
         CacheKey.ExchangeDepthChart(tradePairId),
         CacheKey.ApiMarketHistory(tradePairId, 24)
     );
 }