/// <summary> /// Deletes the variant market description from cache /// </summary> /// <param name="marketId">The market identifier</param> /// <param name="variantValue">The variant value</param> public void DeleteVariantMarketDescriptionFromCache(int marketId, string variantValue) { _executionLog.LogInformation($"Invokes DeleteVariantMarketDescriptionFromCache for market {marketId} and variant {variantValue}"); var cacheId = VariantMarketDescriptionCache.GetCacheKey(marketId, variantValue); ((SdkCache)_variantDescriptionCache).CacheDeleteItem(cacheId, CacheItemType.MarketDescription); }
/// <summary> /// Deletes the variant market description from cache /// </summary> /// <param name="marketId">The market identifier</param> /// <param name="variantValue">The variant value</param> public void DeleteVariantMarketDescriptionFromCache(int marketId, string variantValue) { var cacheId = VariantMarketDescriptionCache.GetCacheKey(marketId, variantValue); ((SdkCache)_variantDescriptionCache).CacheDeleteItem(cacheId, CacheItemType.MarketDescription); }