// custom code end #endregion #region Ctor public CategoryController(IAclService aclService, ICacheKeyService cacheKeyService, ICategoryModelFactory categoryModelFactory, ICategoryService categoryService, ICustomerActivityService customerActivityService, ICustomerService customerService, IDiscountService discountService, IExportManager exportManager, IImportManager importManager, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService, INotificationService notificationService, IPermissionService permissionService, IPictureService pictureService, IProductService productService, IStaticCacheManager staticCacheManager, IStoreMappingService storeMappingService, IStoreService storeService, IUrlRecordService urlRecordService, IWorkContext workContext, // custom code start ITirePriceModelFactory tirePriceModelFactory, ITierpriceService tierpriceService // custom code end ) { _aclService = aclService; _cacheKeyService = cacheKeyService; _categoryModelFactory = categoryModelFactory; _categoryService = categoryService; _customerActivityService = customerActivityService; _customerService = customerService; _discountService = discountService; _exportManager = exportManager; _importManager = importManager; _localizationService = localizationService; _localizedEntityService = localizedEntityService; _notificationService = notificationService; _permissionService = permissionService; _pictureService = pictureService; _productService = productService; _staticCacheManager = staticCacheManager; _storeMappingService = storeMappingService; _storeService = storeService; _urlRecordService = urlRecordService; _workContext = workContext; // custom code start _tirePriceModelFactory = tirePriceModelFactory; _tierpriceService = tierpriceService; // custom code end }
public TirePriceModelFactory(IBaseAdminModelFactory baseAdminModelFactory, ICustomerService customerService, IStoreService storeService, IProductService productService, ILocalizationService localizationService, ITierpriceService tierpriceService) { _customerService = customerService; _storeService = storeService; _productService = productService; _localizationService = localizationService; _baseAdminModelFactory = baseAdminModelFactory; _tierpriceService = tierpriceService; }
//private readonly IWebHelper _webHelper; // custom code end #endregion #region Ctor public PriceCalculationService(CatalogSettings catalogSettings, CurrencySettings currencySettings, ICacheKeyService cacheKeyService, ICategoryService categoryService, ICurrencyService currencyService, ICustomerService customerService, IDiscountService discountService, IManufacturerService manufacturerService, IProductAttributeParser productAttributeParser, IProductService productService, IStaticCacheManager staticCacheManager, IStoreContext storeContext, IWorkContext workContext, // custom code start ITierpriceService tierpriceService //IWebHelper webHelper // custom code end ) { _catalogSettings = catalogSettings; _currencySettings = currencySettings; _cacheKeyService = cacheKeyService; _categoryService = categoryService; _currencyService = currencyService; _customerService = customerService; _discountService = discountService; _manufacturerService = manufacturerService; _productAttributeParser = productAttributeParser; _productService = productService; _staticCacheManager = staticCacheManager; _storeContext = storeContext; _workContext = workContext; // custom code start _tierpriceService = tierpriceService; //_webHelper = webHelper; // custom code end }