public CatalogController(
     SmartDbContext db,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductCompareService productCompareService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     SeoSettings seoSettings,
     Lazy <IUrlHelper> urlHelper)
 {
     _db = db;
     _categoryService               = categoryService;
     _manufacturerService           = manufacturerService;
     _productService                = productService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _productCompareService         = productCompareService;
     _aclService           = aclService;
     _storeMappingService  = storeMappingService;
     _catalogSearchService = catalogSearchService;
     _mediaSettings        = mediaSettings;
     _catalogSettings      = catalogSettings;
     _helper      = helper;
     _breadcrumb  = breadcrumb;
     _seoSettings = seoSettings;
     _urlHelper   = urlHelper;
 }
 public ProductController(
     SmartDbContext db,
     IProductService productService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductCompareService productCompareService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb)
 {
     _db                            = db;
     _productService                = productService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _productCompareService         = productCompareService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _helper                        = helper;
     _breadcrumb                    = breadcrumb;
 }
Example #3
0
 public HardwareController(IHostingEnvironment hostingEnvironment, IProductService productService,
                           Microsoft.Extensions.Configuration.IConfiguration configuration, IProductCompareService productCompareService)
 {
     _productService        = productService;
     _productCompareService = productCompareService;
     //_product_InfoService = product_InfoService;
     _configuration      = configuration;
     _hostingEnvironment = hostingEnvironment;
 }
 public ProductController(
     SmartDbContext db,
     IWebHelper webHelper,
     IProductService productService,
     IProductTagService productTagService,
     IProductAttributeService productAttributeService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IProductCompareService productCompareService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     IMediaService mediaService,
     ICustomerService customerService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     SeoSettings seoSettings,
     ContactDataSettings contactDataSettings,
     CaptchaSettings captchaSettings,
     LocalizationSettings localizationSettings,
     PrivacySettings privacySettings,
     Lazy <IUrlHelper> urlHelper,
     Lazy <IMessageFactory> messageFactory,
     Lazy <ProductUrlHelper> productUrlHelper,
     Lazy <IProductAttributeFormatter> productAttributeFormatter,
     Lazy <IProductAttributeMaterializer> productAttributeMaterializer)
 {
     _db                            = db;
     _webHelper                     = webHelper;
     _productService                = productService;
     _productTagService             = productTagService;
     _productAttributeService       = productAttributeService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _productCompareService         = productCompareService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaService                  = mediaService;
     _customerService               = customerService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _helper                        = helper;
     _breadcrumb                    = breadcrumb;
     _seoSettings                   = seoSettings;
     _contactDataSettings           = contactDataSettings;
     _captchaSettings               = captchaSettings;
     _localizationSettings          = localizationSettings;
     _privacySettings               = privacySettings;
     _urlHelper                     = urlHelper;
     _messageFactory                = messageFactory;
     _productUrlHelper              = productUrlHelper;
     _productAttributeFormatter     = productAttributeFormatter;
     _productAttributeMaterializer  = productAttributeMaterializer;
 }
Example #5
0
 public ProdCompareViewModel(IProductCompareService productService)
 {
     _productService = productService;
     PopulateProperties();
 }