Example #1
0
 public DiscountController(CatalogSettings catalogSettings,
                           ICategoryService categoryService,
                           ICustomerActivityService customerActivityService,
                           IDiscountModelFactory discountModelFactory,
                           IDiscountService discountService,
                           ILocalizationService localizationService,
                           IManufacturerService manufacturerService,
                           IPermissionService permissionService,
                           IProductService productService,
                           IWebHelper webHelper)
 {
     this._catalogSettings         = catalogSettings;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     this._discountModelFactory    = discountModelFactory;
     this._discountService         = discountService;
     this._localizationService     = localizationService;
     this._manufacturerService     = manufacturerService;
     this._permissionService       = permissionService;
     this._productService          = productService;
     this._webHelper = webHelper;
 }
 public DiscountController(CatalogSettings catalogSettings,
                           ICategoryService categoryService,
                           ICustomerActivityService customerActivityService,
                           IDiscountModelFactory discountModelFactory,
                           IDiscountPluginManager discountPluginManager,
                           IDiscountService discountService,
                           ILocalizationService localizationService,
                           IManufacturerService manufacturerService,
                           INotificationService notificationService,
                           IPermissionService permissionService,
                           IProductService productService)
 {
     _catalogSettings         = catalogSettings;
     _categoryService         = categoryService;
     _customerActivityService = customerActivityService;
     _discountModelFactory    = discountModelFactory;
     _discountPluginManager   = discountPluginManager;
     _discountService         = discountService;
     _localizationService     = localizationService;
     _manufacturerService     = manufacturerService;
     _notificationService     = notificationService;
     _permissionService       = permissionService;
     _productService          = productService;
 }