Example #1
0
 public FavoritController(IFavoritsService favoritsService,
                          IWorkContext workContext,
                          ICategoryService categoryService,
                          ILanguageService languageService,
                          IPictureService pictureService)
 {
     this._favoritsService = favoritsService;
     this._workContext     = workContext;
     this._categoryService = categoryService;
     this._languageService = languageService;
     this._pictureService  = pictureService;
 }
Example #2
0
 public CatalogueController(IProductService productService,
                            IPictureService pictureService,
                            IWorkContext workContext,
                            CatalogSettings catalogSettings,
                            IProductTemplateService productTemplateService,
                            IFavoritsService favoritsService,
                            ICacheManager cacheManager,
                            MediaSettings mediaSettings,
                            ILocalizationService localizationService,
                            ILanguageService languageService,
                            IProductPriceService productPriceService,
                            ICurrencyService currencyService,
                            ICategoryService categoryService,
                            IAclService aclService,
                            IDateTimeHelper dateTimeHelper,
                            IUrlRecordService urlRecordService,
                            ICategoryProductAttributeService categoryProductAttributeService)
 {
     this._pictureService                  = pictureService;
     this._productService                  = productService;
     this._workContext                     = workContext;
     this._catalogSettings                 = catalogSettings;
     this._productTemplateService          = productTemplateService;
     this._favoritsService                 = favoritsService;
     this._cacheManager                    = cacheManager;
     this._mediaSettings                   = mediaSettings;
     this._localizationService             = localizationService;
     this._productPriceService             = productPriceService;
     this._currencyService                 = currencyService;
     this._categoryService                 = categoryService;
     this._languageService                 = languageService;
     this._aclService                      = aclService;
     this._dateTimeHelper                  = dateTimeHelper;
     this._urlRecordService                = urlRecordService;
     this._categoryProductAttributeService = categoryProductAttributeService;
 }