コード例 #1
0
 public PromotionController(ISettingService settingService,
                            ILocalizationService localizationService,
                            IPermissionService permissionService,
                            ILocalizedEntityService localizedEntityService,
                            ILanguageService languageService,
                            IPictureService pictureService,
                            ContentSliderSettings contentSliderSettings,
                            IStoreService storeService,
                            IWorkContext workContext,
                            ICategoryService categoryService,
                            IProductService productService,
                            AdminAreaSettings adminAreaSettings,
                            CustomerSettings customerSettings,
                            IPromotionService promotionService,
                            IPromotionProductsService promotionProductService)
 {
     this._settingService           = settingService;
     this._localizationService      = localizationService;
     this._permissionService        = permissionService;
     this._localizedEntityService   = localizedEntityService;
     this._languageService          = languageService;
     this._pictureService           = pictureService;
     this._contentSliderSettings    = contentSliderSettings;
     this._storeService             = storeService;
     this._workContext              = workContext;
     this._adminAreaSettings        = adminAreaSettings;
     this._customerSettings         = customerSettings;
     this._categoryService          = categoryService;
     this._productService           = productService;
     this._promotionService         = promotionService;
     this._promotionProductsService = promotionProductService;
 }
コード例 #2
0
 public PromotionController(ICommonServices commonServices,
                            IPromotionService promotionService, MediaSettings mediaSettings,
                            IPictureService pictureService, ICategoryService categoryService,
                            IPromotionProductsService promotionProductsService)
 {
     this._services                 = commonServices;
     this._promotionService         = promotionService;
     this._mediaSettings            = mediaSettings;
     this._pictureService           = pictureService;
     this._categoryService          = categoryService;
     this._promotionProductsService = promotionProductsService;
 }
コード例 #3
0
 public CatalogController(
     ICommonServices services,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     ICurrencyService currencyService,
     IOrderReportService orderReportService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IPictureService pictureService,
     IPriceFormatter priceFormatter,
     ISpecificationAttributeService specificationAttributeService,
     ICompareProductsService compareProductsService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     Lazy <ILanguageService> languageService,
     CatalogHelper helper,
     IBreadcrumb breadcrumb,
     IPromotionProductsService promotionService)
 {
     _services                      = services;
     _categoryService               = categoryService;
     _manufacturerService           = manufacturerService;
     _productService                = productService;
     _categoryTemplateService       = categoryTemplateService;
     _manufacturerTemplateService   = manufacturerTemplateService;
     _currencyService               = currencyService;
     _orderReportService            = orderReportService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _compareProductsService        = compareProductsService;
     _pictureService                = pictureService;
     _priceFormatter                = priceFormatter;
     _specificationAttributeService = specificationAttributeService;
     _genericAttributeService       = genericAttributeService;
     _aclService                    = aclService;
     _storeMappingService           = storeMappingService;
     _catalogSearchService          = catalogSearchService;
     _mediaSettings                 = mediaSettings;
     _catalogSettings               = catalogSettings;
     _languageService               = languageService;
     _helper                = helper;
     _breadcrumb            = breadcrumb;
     this._promotionService = promotionService;
 }