public CognitiveRecommendationsService( Func <WorkContext> workContextFactory, ICatalogSearchService catalogSearchService, IProductRecommendationsModuleApiClient productRecommendationsApi, ILocalCacheManager cacheManager) { _workContextFactory = workContextFactory; _catalogSearchService = catalogSearchService; _productRecommendationsApi = productRecommendationsApi; _cacheManager = cacheManager; }
public ApiUserActionsController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, IProductRecommendationsModuleApiClient productRecommendationsApi) : base(workContext, urlBuilder) { _productRecommendationsApi = productRecommendationsApi; }