public PromotionEvaluator(IMarketingModulePromotion promiotionApi, IStorefrontMemoryCache memoryCache) { _promiotionApi = promiotionApi; _memoryCache = memoryCache; }
public PromotionEvaluator(IMarketingModulePromotion promiotionApi, IStorefrontMemoryCache memoryCache, IOptions <StorefrontOptions> storefrontOptions) { _promiotionApi = promiotionApi; _memoryCache = memoryCache; _storefrontOptions = storefrontOptions.Value; }