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