public ShoppingController(IRecommendedProductsService recommendationService,
                           ICurrentCustomerService currentCustomerService,
                           IContentLoader contentLoader,
                           ReferenceConverter referenceConverter)
 {
     _recommendationService  = recommendationService;
     _currentCustomerService = currentCustomerService;
     _contentLoader          = contentLoader;
     _referenceConverter     = referenceConverter;
 }
 public CartController(IPostNordClient postNordClient,
                       IRecommendedProductsService recommendationService,
                       ICurrentCustomerService currentCustomerService,
                       ICurrentMarket currentMarket,
                       ProductService productService)
 {
     _postNordClient         = postNordClient;
     _recommendationService  = recommendationService;
     _currentCustomerService = currentCustomerService;
     _currentMarket          = currentMarket;
     _productService         = productService;
 }
示例#3
0
 public RecommendedProductsBlockController(IRecommendedProductsService recommendationService,
                                           ICurrentCustomerService currentCustomerService,
                                           ICurrentMarket currentMarket,
                                           ProductService productService,
                                           IContentLoader contentLoader)
 {
     _recommendationService  = recommendationService;
     _currentCustomerService = currentCustomerService;
     _currentMarket          = currentMarket;
     _productService         = productService;
     _contentLoader          = contentLoader;
 }
示例#4
0
 public SimilarProductsController(IRecommendedProductsService recommendationService,
                                  IContentLoader contentLoader,
                                  ICurrentCustomerService currentCustomerService,
                                  ICurrentMarket currentMarket,
                                  ReferenceConverter referenceConverter,
                                  ProductService productService)
 {
     _recommendationService  = recommendationService;
     _contentLoader          = contentLoader;
     _currentCustomerService = currentCustomerService;
     _currentMarket          = currentMarket;
     _referenceConverter     = referenceConverter;
     _productService         = productService;
 }
示例#5
0
 public ProductService(IRecommendedProductsService recommendedProductsService)
 {
     this.recommendedProductsService = recommendedProductsService ?? throw new System.ArgumentNullException(nameof(recommendedProductsService));
 }