Beispiel #1
0
 public MyBlobsController()
 {
     this.permissionService = new PermissionService(this.Context);
     this.blobService = new BlobService(this.Context, CloudStorageAccount.Parse(ConfigReader.GetConfigValue("DataConnectionString")), ConfigReader.GetConfigValue("MainBlobContanier"));
     this.blobSetService = new BlobSetService(this.Context);
     this.eventService = new EventService(this.Context);
 }
 public CheckoutAttributeController(ICheckoutAttributeService checkoutAttributeService,
     ILanguageService languageService, 
     ILocalizedEntityService localizedEntityService,
     ILocalizationService localizationService,
     ITaxCategoryService taxCategoryService,
     IWorkContext workContext, 
     ICurrencyService currencyService, 
     ICustomerActivityService customerActivityService, 
     CurrencySettings currencySettings,
     IMeasureService measureService, 
     MeasureSettings measureSettings,
     IPermissionService permissionService,
     IStoreService storeService,
     IStoreMappingService storeMappingService)
 {
     this._checkoutAttributeService = checkoutAttributeService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._localizationService = localizationService;
     this._taxCategoryService = taxCategoryService;
     this._workContext = workContext;
     this._currencyService = currencyService;
     this._customerActivityService = customerActivityService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._permissionService = permissionService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
 }
 public MiscFacebookShopController(IAclService aclService,
     ICacheManager cacheManager,
     CatalogSettings catalogSettings,
     ICategoryService categoryService,
     ICurrencyService currencyService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     IPictureService pictureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IProductService productService,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     ITaxService taxService,
     IWorkContext workContext)
 {
     this._aclService = aclService;
     this._cacheManager = cacheManager;
     this._catalogSettings = catalogSettings;
     this._categoryService = categoryService;
     this._currencyService = currencyService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._pictureService = pictureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._productService = productService;
     this._storeContext = storeContext;
     this._storeMappingService = storeMappingService;
     this._taxService = taxService;
     this._workContext = workContext;
 }
 public SettingController(ISettingService settingService,
     ICountryService countryService, IStateProvinceService stateProvinceService,
     IAddressService addressService, ITaxCategoryService taxCategoryService,
     ICurrencyService currencyService, IPictureService pictureService, 
     ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
     IOrderService orderService, IEncryptionService encryptionService,
     IThemeProvider themeProvider, ICustomerService customerService, 
     ICustomerActivityService customerActivityService, IPermissionService permissionService,
     IWebHelper webHelper, IFulltextService fulltextService, 
     IMaintenanceService maintenanceService, IStoreService storeService,
     IWorkContext workContext, IGenericAttributeService genericAttributeService)
 {
     this._settingService = settingService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._taxCategoryService = taxCategoryService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._orderService = orderService;
     this._encryptionService = encryptionService;
     this._themeProvider = themeProvider;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._webHelper = webHelper;
     this._fulltextService = fulltextService;
     this._maintenanceService = maintenanceService;
     this._storeService = storeService;
     this._workContext = workContext;
     this._genericAttributeService = genericAttributeService;
 }
Beispiel #5
0
 public ExportController(IWorkContext workContext, IPermissionService permissionService, ILocalizationService localizationService)
 {
     this._workContext = workContext;
     this._permissionService = permissionService;
     this._localizationService = localizationService;
     this._dataContext = new JwDataContext();
 }
Beispiel #6
0
 public MyBlobsController(IPermissionService permissionService, IBlobService blobService, IBlobSetService blobSetService, IEventService eventService)
 {
     this.permissionService = permissionService;
     this.blobService = blobService;
     this.blobSetService = blobSetService;
     this.eventService = eventService;
 }
 public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService, IDateTimeHelper dateTimeHelper)
 {
     this._scheduleTaskService = scheduleTaskService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
     T = NullLocalizer.Instance;
 }
 public CommonController(IGeolocationService geolocationservice, IPermissionService permissionService, SiteSettings siteSettings, IWorkContext workContext)
 {
     _geolocationService = geolocationservice;
     _permissionService = permissionService;
     _siteSettings = siteSettings;
     _workContext = workContext;
 }
 public UserRoleController(CoreSettings coreSettings, IPermissionService permissionService, IUserService userService, IWorkContext workContext)
 {
     _coreSettings = coreSettings;
     _permissionService = permissionService;
     _userService = userService;
     _workContext = workContext;
 }
Beispiel #10
0
 public CountryController(ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ICityService cityService,
     IZipcodeService zipcodeService,
     ILocalizationService localizationService,
     IAddressService addressService,
     IPermissionService permissionService,
     ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager,
     IImportManager importManager)
 {
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._cityService = cityService;
     this._zipcodeService = zipcodeService;
     this._localizationService = localizationService;
     this._addressService = addressService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._importManager = importManager;
 }
 public DiyGroupController(IPermissionService permissionService,
     IDiyService branchService, 
     ILanguageService languageService, 
     ILocalizationService localizationService, 
     IStoreMappingService storeMappingService, 
     ILocalizedEntityService localizedEntityService, 
     IStoreService storeService,
     IPictureService pictureService, 
     IUrlRecordService urlRecordService, 
     ICustomerActivityService customerActivityService, 
     IWorkContext workContext,
     ICacheManager cacheManager, 
     DiySettings diySettings, 
     IWebHelper webHelper)
 {
     _permissionService = permissionService;
     _diyService = branchService;
     _languageService = languageService;
     _localizationService = localizationService;
     _storeMappingService = storeMappingService;
     _localizedEntityService = localizedEntityService;
     _storeService = storeService;
     _pictureService = pictureService;
     _urlRecordService = urlRecordService;
     _customerActivityService = customerActivityService;
     _workContext = workContext;
     _cacheManager = cacheManager;
     _diySettings = diySettings;
     _webHelper = webHelper;
 }
 public CommonController(IPaymentService paymentService, 
     IShippingService shippingService,
     IShoppingCartService shoppingCartService,
     ICurrencyService currencyService,
     IMeasureService measureService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWebHelper webHelper,
     CurrencySettings currencySettings,
     MeasureSettings measureSettings,
     IDateTimeHelper dateTimeHelper,
     ILanguageService languageService,
     IWorkContext workContext,
     IStoreContext storeContext,
     IPermissionService permissionService,
     ILocalizationService localizationService)
 {
     this._paymentService = paymentService;
     this._shippingService = shippingService;
     this._shoppingCartService = shoppingCartService;
     this._currencyService = currencyService;
     this._measureService = measureService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._webHelper = webHelper;
     this._currencySettings = currencySettings;
     this._measureSettings = measureSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._languageService = languageService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._permissionService = permissionService;
     this._localizationService = localizationService;
 }
 public DiscountController(IDiscountService discountService, 
     ILocalizationService localizationService,
     ICurrencyService currencyService,
     ICategoryService categoryService,
     IProductService productService,
     IWebHelper webHelper, 
     IDateTimeHelper dateTimeHelper,
     ICustomerActivityService customerActivityService, 
     CurrencySettings currencySettings,
     IPermissionService permissionService,
     IWorkContext workContext,
     IManufacturerService manufacturerService,
     IStoreService storeService,
     IVendorService vendorService,
     IOrderService orderService,
     IPriceFormatter priceFormatter)
 {
     this._discountService = discountService;
     this._localizationService = localizationService;
     this._currencyService = currencyService;
     this._categoryService = categoryService;
     this._productService = productService;
     this._webHelper = webHelper;
     this._dateTimeHelper = dateTimeHelper;
     this._customerActivityService = customerActivityService;
     this._currencySettings = currencySettings;
     this._permissionService = permissionService;
     this._workContext = workContext;
     this._manufacturerService = manufacturerService;
     this._storeService = storeService;
     this._vendorService = vendorService;
     this._orderService = orderService;
     this._priceFormatter = priceFormatter;
 }
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
     IManufacturerService manufacturerService, IProductService productService, 
     ICustomerService customerService,
     IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     IDiscountService discountService, IPermissionService permissionService,
     IAclService aclService,
     IExportManager exportManager, IWorkContext workContext,
     ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
     CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._discountService = discountService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._exportManager = exportManager;
     this._workContext = workContext;
     this._customerActivityService = customerActivityService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
 public ShippingController(IShippingService shippingService, 
     ShippingSettings shippingSettings,
     ISettingService settingService,
     IAddressService addressService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ILocalizationService localizationService, 
     IPermissionService permissionService,
      ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IPluginFinder pluginFinder,
     IWebHelper webHelper)
 {
     this._shippingService = shippingService;
     this._shippingSettings = shippingSettings;
     this._settingService = settingService;
     this._addressService = addressService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._pluginFinder = pluginFinder;
     this._webHelper = webHelper;
 }
Beispiel #16
0
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     IWorkContext workContext, ILanguageService languageService, 
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
     ITaxCategoryService taxCategoryService, IProductTagService productTagService,
     ICopyProductService copyProductService, IPdfService pdfService,
     IExportManager exportManager, IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, AdminAreaSettings adminAreaSettings)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
 }
		public WebApiAuthenticateAttribute()
		{
			var engine = EngineContext.Current;

			_workContext = engine.Resolve<IWorkContext>();
			_permissionService = engine.Resolve<IPermissionService>();
		}
Beispiel #18
0
		public CategoryController(ICategoryService categoryService,
									IUserProvider userProvider,
									IPermissionService permissionService)
			: base(userProvider, permissionService) {

			this.categoryService = categoryService;
		}
Beispiel #19
0
 public RoleService(IMVCForumContext context, ICategoryPermissionForRoleService categoryPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService)
 {
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _permissionService = permissionService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
     _context = context as MVCForumContext;
 }
        public DynamicPriceController(IProductService productService,
            ILocalizationService localizationService, IPermissionService permissionService)
		{
            this._productService = productService;
            this._permissionService = permissionService;
            this._localizationService = localizationService;
		}
 public ShippingByWeightController(IShippingService shippingService,
     IStoreService storeService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ShippingByWeightSettings shippingByWeightSettings,
     IShippingByWeightService shippingByWeightService,
     ISettingService settingService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings)
 {
     this._shippingService = shippingService;
     this._storeService = storeService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._shippingByWeightSettings = shippingByWeightSettings;
     this._shippingByWeightService = shippingByWeightService;
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
 }
 public TopicController(ITopicService topicService,
     ILanguageService languageService,
     ILocalizedEntityService localizedEntityService, 
     ILocalizationService localizationService,
     IPermissionService permissionService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService,
     ITopicTemplateService topicTemplateService,
     ICustomerService customerService,
     ICustomerActivityService customerActivityService,
     IAclService aclService)
 {
     this._topicService = topicService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._topicTemplateService = topicTemplateService;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._aclService = aclService;
 }
Beispiel #23
0
 public PermissionController(
       IDepartmentService _departmentService
     , IPermissionService _permissionService)
 {
     permissionService = _permissionService;
     departmentService = _departmentService;
 }
 public CommonController(IUserService userService, IPermissionService permissionService,
     IWorkContext workContextService)
 {
     this._userService = userService;
     this._permissionService = permissionService;
     this._workContextService = workContextService;
 }
 public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
     ICustomerService customerService, IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, IPictureService pictureService,
     ILanguageService languageService, ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService, IExportManager exportManager,
     ICustomerActivityService customerActivityService, IAclService aclService, 
     IPermissionService permissionService,
     AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
Beispiel #26
0
 public VendorController(ICustomerService customerService, 
     ILocalizationService localizationService,
     IVendorService vendorService, 
     IPermissionService permissionService,
     IUrlRecordService urlRecordService,
     ILanguageService languageService,
     ILocalizedEntityService localizedEntityService,
     VendorSettings vendorSettings,
     IPictureService pictureService,
     IProductService productService,
     IWorkContext workContext,
     IGenericAttributeService genericAttributeService,
     IWorkflowMessageService workflowMessageService)
 {
     this._customerService = customerService;
     this._localizationService = localizationService;
     this._vendorService = vendorService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._vendorSettings = vendorSettings;
     this._pictureService = pictureService;
     this._productService = productService;
     this._workContext = workContext;
     this._workflowMessageService = workflowMessageService;
     this._genericAttributeService = genericAttributeService;
 }
        public CustomerRoleController(ICustomerService customerService,
            ILocalizationService localizationService, 
            ICustomerActivityService customerActivityService,
            IPermissionService permissionService,
            IProductService productService,
            ICategoryService categoryService,
            IManufacturerService manufacturerService,
            IStoreService storeService,
            IVendorService vendorService,
            IWorkContext workContext,
            ILanguageService languageService,
            ILocalizedEntityService localizedEntityService,
            ICacheManager cacheManager)
		{
            this._customerService = customerService;
            this._localizationService = localizationService;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._productService = productService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._storeService = storeService;
            this._vendorService = vendorService;
            this._workContext = workContext;
            this._languageService = languageService;
            this._localizedEntityService = localizedEntityService;
            this._cacheManager = cacheManager;
        }
        public PluginController(IPluginFinder pluginFinder,
            IOfficialFeedManager officialFeedManager,
            ILocalizationService localizationService,
            IWebHelper webHelper,
            IPermissionService permissionService, 
            ILanguageService languageService,
            ISettingService settingService, 
            IStoreService storeService,
            PaymentSettings paymentSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings, 
            ExternalAuthenticationSettings externalAuthenticationSettings, 
            WidgetSettings widgetSettings)
		{
            this._pluginFinder = pluginFinder;
            this._officialFeedManager = officialFeedManager;
            this._localizationService = localizationService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._languageService = languageService;
            this._settingService = settingService;
            this._storeService = storeService;
            this._paymentSettings = paymentSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
            this._widgetSettings = widgetSettings;
		}
 public DiscountRulesHasAllProductsController(IDiscountService discountService,
     ISettingService settingService, IPermissionService permissionService)
 {
     this._discountService = discountService;
     this._settingService = settingService;
     this._permissionService = permissionService;
 }
Beispiel #30
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="sciRepository">Shopping cart repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="currencyService">Currency service</param>
 /// <param name="productService">Product settings</param>
 /// <param name="localizationService">Localization service</param>
 /// <param name="productAttributeParser">Product attribute parser</param>
 /// <param name="checkoutAttributeService">Checkout attribute service</param>
 /// <param name="checkoutAttributeParser">Checkout attribute parser</param>
 /// <param name="priceFormatter">Price formatter</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="shoppingCartSettings">Shopping cart settings</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="permissionService">Permission service</param>
 /// <param name="aclService">ACL service</param>
 public ShoppingCartService(IRepository<ShoppingCartItem> sciRepository,
     IWorkContext workContext, ICurrencyService currencyService,
     IProductService productService, ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     ICheckoutAttributeService checkoutAttributeService,
     ICheckoutAttributeParser checkoutAttributeParser,
     IPriceFormatter priceFormatter,
     ICustomerService customerService,
     ShoppingCartSettings shoppingCartSettings,
     IEventPublisher eventPublisher,
     IPermissionService permissionService, 
     IAclService aclService)
 {
     this._sciRepository = sciRepository;
     this._workContext = workContext;
     this._currencyService = currencyService;
     this._productService = productService;
     this._localizationService = localizationService;
     this._productAttributeParser = productAttributeParser;
     this._checkoutAttributeService = checkoutAttributeService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._priceFormatter = priceFormatter;
     this._customerService = customerService;
     this._shoppingCartSettings = shoppingCartSettings;
     this._eventPublisher = eventPublisher;
     this._permissionService = permissionService;
     this._aclService = aclService;
 }
Beispiel #31
0
 public BlogController(IBlogModelFactory blogModelFactory,
                       IBlogService blogService,
                       ICustomerActivityService customerActivityService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       INotificationService notificationService,
                       IPermissionService permissionService,
                       IStoreMappingService storeMappingService,
                       IStoreService storeService,
                       IUrlRecordService urlRecordService)
 {
     this._blogModelFactory        = blogModelFactory;
     this._blogService             = blogService;
     this._customerActivityService = customerActivityService;
     this._eventPublisher          = eventPublisher;
     this._localizationService     = localizationService;
     this._notificationService     = notificationService;
     this._permissionService       = permissionService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
 }
 public FacebookPixelController(FacebookPixelService facebookPixelService,
                                IBaseAdminModelFactory baseAdminModelFactory,
                                IGenericAttributeService genericAttributeService,
                                ILocalizationService localizationService,
                                INotificationService notificationService,
                                IPermissionService permissionService,
                                IStoreContext storeContext,
                                IStoreService storeService,
                                IWorkContext workContext,
                                StoreInformationSettings storeInformationSettings)
 {
     _facebookPixelService     = facebookPixelService;
     _baseAdminModelFactory    = baseAdminModelFactory;
     _genericAttributeService  = genericAttributeService;
     _localizationService      = localizationService;
     _notificationService      = notificationService;
     _permissionService        = permissionService;
     _storeContext             = storeContext;
     _storeService             = storeService;
     _workContext              = workContext;
     _storeInformationSettings = storeInformationSettings;
 }
Beispiel #33
0
 public NewsController(ICustomerActivityService customerActivityService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       INewsModelFactory newsModelFactory,
                       INewsService newsService,
                       INotificationService notificationService,
                       IPermissionService permissionService,
                       IStoreMappingService storeMappingService,
                       IStoreService storeService,
                       IUrlRecordService urlRecordService)
 {
     _customerActivityService = customerActivityService;
     _eventPublisher          = eventPublisher;
     _localizationService     = localizationService;
     _newsModelFactory        = newsModelFactory;
     _newsService             = newsService;
     _notificationService     = notificationService;
     _permissionService       = permissionService;
     _storeMappingService     = storeMappingService;
     _storeService            = storeService;
     _urlRecordService        = urlRecordService;
 }
 public ReturnRequestController(IReturnRequestService returnRequestService,
                                IOrderService orderService,
                                ICustomerService customerService,
                                IDateTimeHelper dateTimeHelper,
                                ILocalizationService localizationService,
                                IWorkContext workContext,
                                IWorkflowMessageService workflowMessageService,
                                LocalizationSettings localizationSettings,
                                ICustomerActivityService customerActivityService,
                                IPermissionService permissionService)
 {
     this._returnRequestService    = returnRequestService;
     this._orderService            = orderService;
     this._customerService         = customerService;
     this._dateTimeHelper          = dateTimeHelper;
     this._localizationService     = localizationService;
     this._workContext             = workContext;
     this._workflowMessageService  = workflowMessageService;
     this._localizationSettings    = localizationSettings;
     this._customerActivityService = customerActivityService;
     this._permissionService       = permissionService;
 }
Beispiel #35
0
 public ShoppingCartController(ICustomerService customerService,
                               IDateTimeHelper dateTimeHelper,
                               IPriceFormatter priceFormatter,
                               IStoreService storeService,
                               ITaxService taxService,
                               IPriceCalculationService priceCalculationService,
                               IPermissionService permissionService,
                               ILocalizationService localizationService,
                               IProductAttributeFormatter productAttributeFormatter,
                               IShoppingCartService shoppingCartService)
 {
     this._customerService           = customerService;
     this._dateTimeHelper            = dateTimeHelper;
     this._priceFormatter            = priceFormatter;
     this._storeService              = storeService;
     this._taxService                = taxService;
     this._priceCalculationService   = priceCalculationService;
     this._permissionService         = permissionService;
     this._localizationService       = localizationService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._shoppingCartService       = shoppingCartService;
 }
 public CustomerRoleController(ICustomerService customerService,
                               ILocalizationService localizationService,
                               ICustomerActivityService customerActivityService,
                               IPermissionService permissionService,
                               IProductService productService,
                               ICategoryService categoryService,
                               IManufacturerService manufacturerService,
                               IStoreService storeService,
                               IVendorService vendorService,
                               IWorkContext workContext)
 {
     this._customerService         = customerService;
     this._localizationService     = localizationService;
     this._customerActivityService = customerActivityService;
     this._permissionService       = permissionService;
     this._productService          = productService;
     this._categoryService         = categoryService;
     this._manufacturerService     = manufacturerService;
     this._storeService            = storeService;
     this._vendorService           = vendorService;
     this._workContext             = workContext;
 }
 public DiscountRulesHasOneProductController(ICategoryService categoryService,
                                             IDiscountService discountService,
                                             ILocalizationService localizationService,
                                             IManufacturerService manufacturerService,
                                             IPermissionService permissionService,
                                             IProductService productService,
                                             ISettingService settingService,
                                             IStoreService storeService,
                                             IVendorService vendorService,
                                             IWorkContext workContext)
 {
     this._categoryService     = categoryService;
     this._discountService     = discountService;
     this._localizationService = localizationService;
     this._manufacturerService = manufacturerService;
     this._permissionService   = permissionService;
     this._productService      = productService;
     this._settingService      = settingService;
     this._storeService        = storeService;
     this._vendorService       = vendorService;
     this._workContext         = workContext;
 }
Beispiel #38
0
 public ExternalAuthFacebookController(ISettingService settingService,
                                       IOAuthProviderFacebookAuthorizer oAuthProviderFacebookAuthorizer,
                                       IOpenAuthenticationService openAuthenticationService,
                                       ExternalAuthenticationSettings externalAuthenticationSettings,
                                       IPermissionService permissionService,
                                       IStoreContext storeContext,
                                       IStoreService storeService,
                                       IWorkContext workContext,
                                       IPluginFinder pluginFinder,
                                       ILocalizationService localizationService)
 {
     this._settingService = settingService;
     this._oAuthProviderFacebookAuthorizer = oAuthProviderFacebookAuthorizer;
     this._openAuthenticationService       = openAuthenticationService;
     this._externalAuthenticationSettings  = externalAuthenticationSettings;
     this._permissionService   = permissionService;
     this._storeContext        = storeContext;
     this._storeService        = storeService;
     this._workContext         = workContext;
     this._pluginFinder        = pluginFinder;
     this._localizationService = localizationService;
 }
 public HomeController(IStoreContext storeContext,
                       AdminAreaSettings adminAreaSettings,
                       ISettingService settingService,
                       IPermissionService permissionService,
                       IProductService productService,
                       IOrderService orderService,
                       ICustomerService customerService,
                       IReturnRequestService returnRequestService,
                       IWorkContext workContext,
                       ICacheManager cacheManager)
 {
     this._storeContext         = storeContext;
     this._adminAreaSettings    = adminAreaSettings;
     this._settingService       = settingService;
     this._permissionService    = permissionService;
     this._productService       = productService;
     this._orderService         = orderService;
     this._customerService      = customerService;
     this._returnRequestService = returnRequestService;
     this._workContext          = workContext;
     this._cacheManager         = cacheManager;
 }
 public NewsController(INewsService newsService,
                       ILanguageService languageService,
                       IDateTimeHelper dateTimeHelper,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       IPermissionService permissionService,
                       IUrlRecordService urlRecordService,
                       IStoreService storeService,
                       IStoreMappingService storeMappingService,
                       ICustomerActivityService customerActivityService)
 {
     this._newsService             = newsService;
     this._languageService         = languageService;
     this._dateTimeHelper          = dateTimeHelper;
     this._eventPublisher          = eventPublisher;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._urlRecordService        = urlRecordService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._customerActivityService = customerActivityService;
 }
 public MessageTemplateController(ICustomerActivityService customerActivityService,
                                  ILocalizationService localizationService,
                                  ILocalizedEntityService localizedEntityService,
                                  IMessageTemplateModelFactory messageTemplateModelFactory,
                                  IMessageTemplateService messageTemplateService,
                                  INotificationService notificationService,
                                  IPermissionService permissionService,
                                  IStoreMappingService storeMappingService,
                                  IStoreService storeService,
                                  IWorkflowMessageService workflowMessageService)
 {
     _customerActivityService     = customerActivityService;
     _localizationService         = localizationService;
     _localizedEntityService      = localizedEntityService;
     _messageTemplateModelFactory = messageTemplateModelFactory;
     _messageTemplateService      = messageTemplateService;
     _notificationService         = notificationService;
     _permissionService           = permissionService;
     _storeMappingService         = storeMappingService;
     _storeService           = storeService;
     _workflowMessageService = workflowMessageService;
 }
 public ShippingPointController(
     IWorkContext workContext,
     IStoreContext storeContext,
     IGenericAttributeService genericAttributeService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     IShippingPointService ShippingPointService,
     ICountryService countryService,
     IStoreService storeService,
     IPriceFormatter priceFormatter
     )
 {
     _workContext             = workContext;
     _storeContext            = storeContext;
     _genericAttributeService = genericAttributeService;
     _localizationService     = localizationService;
     _permissionService       = permissionService;
     _shippingPointService    = ShippingPointService;
     _countryService          = countryService;
     _storeService            = storeService;
     _priceFormatter          = priceFormatter;
 }
 public HasOneProductController(IDiscountService discountService,
                                ISettingService settingService,
                                IPermissionService permissionService,
                                IWorkContext workContext,
                                ILocalizationService localizationService,
                                ICategoryService categoryService,
                                IManufacturerService manufacturerService,
                                IStoreService storeService,
                                IVendorService vendorService,
                                IProductService productService)
 {
     _discountService     = discountService;
     _settingService      = settingService;
     _permissionService   = permissionService;
     _workContext         = workContext;
     _localizationService = localizationService;
     _categoryService     = categoryService;
     _manufacturerService = manufacturerService;
     _storeService        = storeService;
     _vendorService       = vendorService;
     _productService      = productService;
 }
 public ProfileController(IForumService forumService,
                          ILocalizationService localizationService,
                          IPictureService pictureService,
                          ICountryService countryService,
                          ICustomerService customerService,
                          IDateTimeHelper dateTimeHelper,
                          IPermissionService permissionService,
                          ForumSettings forumSettings,
                          CustomerSettings customerSettings,
                          MediaSettings mediaSettings)
 {
     _forumService        = forumService;
     _localizationService = localizationService;
     _pictureService      = pictureService;
     _countryService      = countryService;
     _customerService     = customerService;
     _permissionService   = permissionService;
     _dateTimeHelper      = dateTimeHelper;
     _forumSettings       = forumSettings;
     _customerSettings    = customerSettings;
     _mediaSettings       = mediaSettings;
 }
Beispiel #45
0
 public WB_FixedOrByCountryStateZipController(ITaxCategoryService taxCategoryService,
                                              ICountryService countryService,
                                              IStateProvinceService stateProvinceService,
                                              ICategoryService categoryService,
                                              IWB_CountryStateZipService taxRateService,
                                              IWB_TaxCategoryMappingService taxCategoryMappingService,
                                              IPermissionService permissionService,
                                              IStoreService storeService,
                                              ISettingService settingService,
                                              WB_FixedOrByCountryStateZipTaxSettings countryStateZipSettings)
 {
     this._taxCategoryService        = taxCategoryService;
     this._countryService            = countryService;
     this._stateProvinceService      = stateProvinceService;
     this._categoryService           = categoryService;
     this._taxRateService            = taxRateService;
     this._taxCategoryMappingService = taxCategoryMappingService;
     this._permissionService         = permissionService;
     this._storeService            = storeService;
     this._settingService          = settingService;
     this._countryStateZipSettings = countryStateZipSettings;
 }
 public ProductReviewController(CatalogSettings catalogSettings,
                                ICustomerActivityService customerActivityService,
                                IEventPublisher eventPublisher,
                                IGenericAttributeService genericAttributeService,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                IProductReviewModelFactory productReviewModelFactory,
                                IProductService productService,
                                IWorkContext workContext,
                                IWorkflowMessageService workflowMessageService)
 {
     this._catalogSettings           = catalogSettings;
     this._customerActivityService   = customerActivityService;
     this._eventPublisher            = eventPublisher;
     this._genericAttributeService   = genericAttributeService;
     this._localizationService       = localizationService;
     this._permissionService         = permissionService;
     this._productReviewModelFactory = productReviewModelFactory;
     this._productService            = productService;
     this._workContext            = workContext;
     this._workflowMessageService = workflowMessageService;
 }
Beispiel #47
0
 public PaymentParamController(ISettingService settingService,
                               IParamPaymentSettings paramPaymentSettings,
                               IWorkContext workContext,
                               IOrderService orderService,
                               IStoreContext storeContext,
                               IOrderProcessingService orderProcessingService,
                               IWebHelper webHelper,
                               IHttpContextAccessor httpContextAccessor,
                               IGenericAttributeService genericAttributeService,
                               IPermissionService permissionService)
 {
     this._settingService         = settingService;
     this._paramPaymentSettings   = paramPaymentSettings;
     this._permissionService      = permissionService;
     this._workContext            = workContext;
     this._orderService           = orderService;
     this._storeContext           = storeContext;
     this._orderProcessingService = orderProcessingService;
     this._webHelper               = webHelper;
     this._httpContextAccessor     = httpContextAccessor;
     this._genericAttributeService = genericAttributeService;
 }
 public FacebookAuthenticationController(FacebookExternalAuthSettings facebookExternalAuthSettings,
                                         IAuthenticationPluginManager authenticationPluginManager,
                                         IExternalAuthenticationService externalAuthenticationService,
                                         ILocalizationService localizationService,
                                         INotificationService notificationService,
                                         IOptionsMonitorCache <FacebookOptions> optionsCache,
                                         IPermissionService permissionService,
                                         ISettingService settingService,
                                         IStoreContext storeContext,
                                         IWorkContext workContext)
 {
     _facebookExternalAuthSettings  = facebookExternalAuthSettings;
     _authenticationPluginManager   = authenticationPluginManager;
     _externalAuthenticationService = externalAuthenticationService;
     _localizationService           = localizationService;
     _notificationService           = notificationService;
     _optionsCache      = optionsCache;
     _permissionService = permissionService;
     _settingService    = settingService;
     _storeContext      = storeContext;
     _workContext       = workContext;
 }
 public CurrencyController(CurrencySettings currencySettings,
                           ICurrencyModelFactory currencyModelFactory,
                           ICurrencyService currencyService,
                           ICustomerActivityService customerActivityService,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IPermissionService permissionService,
                           ISettingService settingService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService)
 {
     this._currencySettings        = currencySettings;
     this._currencyModelFactory    = currencyModelFactory;
     this._currencyService         = currencyService;
     this._customerActivityService = customerActivityService;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._permissionService       = permissionService;
     this._settingService          = settingService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
 }
 public InventoryController(IRepository <Site> siteRepository,
                            IRepository <Store> storeRepository,
                            IRepository <Item> itemRepository,
                            IRepository <StoreItem> storeItemRepository,
                            IStoreService storeService,
                            ILocalizationService localizationService,
                            IPermissionService permissionService,
                            HttpContextBase httpContext,
                            IWorkContext workContext,
                            IDbContext dbContext)
 {
     this._siteRepository      = siteRepository;
     this._storeRepository     = storeRepository;
     this._itemRepository      = itemRepository;
     this._storeItemRepository = storeItemRepository;
     this._localizationService = localizationService;
     this._storeService        = storeService;
     this._permissionService   = permissionService;
     this._httpContext         = httpContext;
     this._workContext         = workContext;
     this._dbContext           = dbContext;
 }
 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;
 }
Beispiel #52
0
 public CampaignController(ICampaignService campaignService,
                           IDateTimeHelper dateTimeHelper,
                           IEmailAccountService emailAccountService,
                           EmailAccountSettings emailAccountSettings,
                           INewsLetterSubscriptionService newsLetterSubscriptionService,
                           ILocalizationService localizationService,
                           IMessageTokenProvider messageTokenProvider,
                           IStoreContext storeContext,
                           IStoreService storeService,
                           IPermissionService permissionService)
 {
     this._campaignService               = campaignService;
     this._dateTimeHelper                = dateTimeHelper;
     this._emailAccountService           = emailAccountService;
     this._emailAccountSettings          = emailAccountSettings;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._localizationService           = localizationService;
     this._messageTokenProvider          = messageTokenProvider;
     this._storeContext      = storeContext;
     this._storeService      = storeService;
     this._permissionService = permissionService;
 }
Beispiel #53
0
        public CashIncomeSelfDeliveryDlg(IPermissionService permissionService)
        {
            Build();
            UoWGeneric    = UnitOfWorkFactory.CreateWithNewRoot <Income>();
            Entity.Casher = _employeeRepository.GetEmployeeForCurrentUser(UoW);
            incomeCategoryList.AddRange(_categoryRepository.SelfDeliveryIncomeCategories(UoW));
            if (Entity.Id == 0)
            {
                Entity.IncomeCategory = incomeCategoryList.FirstOrDefault();
            }
            if (Entity.Casher == null)
            {
                MessageDialogHelper.RunErrorDialog("Ваш пользователь не привязан к действующему сотруднику, вы не можете создавать кассовые документы, так как некого указывать в качестве кассира.");
                FailInitialize = true;
                return;
            }

            var userPermission = permissionService.ValidateUserPermission(typeof(Income), ServicesConfig.UserService.CurrentUserId);

            canCreate = userPermission.CanCreate;
            if (!userPermission.CanCreate)
            {
                MessageDialogHelper.RunErrorDialog("Отсутствуют права на создание приходного ордера");
                FailInitialize = true;
                return;
            }

            if (!accessfilteredsubdivisionselectorwidget.Configure(UoW, false, typeof(Income)))
            {
                MessageDialogHelper.RunErrorDialog(accessfilteredsubdivisionselectorwidget.ValidationErrorMessage);
                FailInitialize = true;
                return;
            }
            accessfilteredsubdivisionselectorwidget.OnSelected += Accessfilteredsubdivisionselectorwidget_OnSelected;

            Entity.Date = DateTime.Now;
            ConfigureDlg();
        }
 public BlogViewModelService(IBlogService blogService,
                             IWorkContext workContext,
                             IStoreContext storeContext,
                             IPictureService pictureService,
                             ILocalizationService localizationService,
                             IDateTimeHelper dateTimeHelper,
                             IWorkflowMessageService workflowMessageService,
                             IWebHelper webHelper,
                             ICacheManager cacheManager,
                             ICustomerActivityService customerActivityService,
                             IStoreMappingService storeMappingService,
                             IPermissionService permissionService,
                             IServiceProvider serviceProvider,
                             MediaSettings mediaSettings,
                             BlogSettings blogSettings,
                             LocalizationSettings localizationSettings,
                             CustomerSettings customerSettings,
                             CaptchaSettings captchaSettings)
 {
     this._blogService            = blogService;
     this._workContext            = workContext;
     this._storeContext           = storeContext;
     this._pictureService         = pictureService;
     this._localizationService    = localizationService;
     this._dateTimeHelper         = dateTimeHelper;
     this._workflowMessageService = workflowMessageService;
     this._webHelper               = webHelper;
     this._cacheManager            = cacheManager;
     this._customerActivityService = customerActivityService;
     this._storeMappingService     = storeMappingService;
     this._permissionService       = permissionService;
     this._serviceProvider         = serviceProvider;
     this._mediaSettings           = mediaSettings;
     this._blogSettings            = blogSettings;
     this._localizationSettings    = localizationSettings;
     this._customerSettings        = customerSettings;
     this._captchaSettings         = captchaSettings;
 }
 public DiscountController(IDiscountService discountService,
                           ILocalizationService localizationService,
                           ICurrencyService currencyService,
                           ICategoryService categoryService,
                           IProductService productService,
                           IWebHelper webHelper,
                           IDateTimeHelper dateTimeHelper,
                           ICustomerActivityService customerActivityService,
                           CurrencySettings currencySettings,
                           CatalogSettings catalogSettings,
                           IPermissionService permissionService,
                           IWorkContext workContext,
                           IManufacturerService manufacturerService,
                           IStoreService storeService,
                           IVendorService vendorService,
                           IOrderService orderService,
                           IPriceFormatter priceFormatter,
                           ICacheManager cacheManager)
 {
     this._discountService         = discountService;
     this._localizationService     = localizationService;
     this._currencyService         = currencyService;
     this._categoryService         = categoryService;
     this._productService          = productService;
     this._webHelper               = webHelper;
     this._dateTimeHelper          = dateTimeHelper;
     this._customerActivityService = customerActivityService;
     this._currencySettings        = currencySettings;
     this._catalogSettings         = catalogSettings;
     this._permissionService       = permissionService;
     this._workContext             = workContext;
     this._manufacturerService     = manufacturerService;
     this._storeService            = storeService;
     this._vendorService           = vendorService;
     this._orderService            = orderService;
     this._priceFormatter          = priceFormatter;
     this._cacheManager            = cacheManager;
 }
Beispiel #56
0
 public CatalogController(CatalogSettings catalogSettings,
                          IAclService aclService,
                          ICatalogModelFactory catalogModelFactory,
                          ICategoryService categoryService,
                          ICustomerActivityService customerActivityService,
                          IGenericAttributeService genericAttributeService,
                          ILocalizationService localizationService,
                          IPermissionService permissionService,
                          IProductModelFactory productModelFactory,
                          IProductService productService,
                          IProductTagService productTagService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IVendorService vendorService,
                          IWebHelper webHelper,
                          IWorkContext workContext,
                          MediaSettings mediaSettings,
                          VendorSettings vendorSettings)
 {
     this._catalogSettings         = catalogSettings;
     this._aclService              = aclService;
     this._catalogModelFactory     = catalogModelFactory;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     this._genericAttributeService = genericAttributeService;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._productModelFactory     = productModelFactory;
     this._productService          = productService;
     this._productTagService       = productTagService;
     this._storeContext            = storeContext;
     this._storeMappingService     = storeMappingService;
     this._vendorService           = vendorService;
     this._webHelper      = webHelper;
     this._workContext    = workContext;
     this._mediaSettings  = mediaSettings;
     this._vendorSettings = vendorSettings;
 }
        public ShoppingCartViewComponent(
            IProductService productService,
            IStoreContext storeContext,
            IWorkContext workContext,
            IShoppingCartService shoppingCartService,
            IPermissionService permissionService,
            IShoppingCartWebService shoppingCartWebService,
            IHttpContextAccessor httpContextAccessor,

            MediaSettings mediaSettings,
            ShoppingCartSettings shoppingCartSettings,
            CatalogSettings catalogSettings,
            OrderSettings orderSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings,
            CaptchaSettings captchaSettings,
            AddressSettings addressSettings,
            RewardPointsSettings rewardPointsSettings
            )
        {
            this._productService      = productService;
            this._workContext         = workContext;
            this._storeContext        = storeContext;
            this._shoppingCartService = shoppingCartService;
            this._permissionService   = permissionService;

            this._shoppingCartWebService = shoppingCartWebService;

            this._mediaSettings        = mediaSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._catalogSettings      = catalogSettings;
            this._orderSettings        = orderSettings;
            this._shippingSettings     = shippingSettings;
            this._taxSettings          = taxSettings;
            this._captchaSettings      = captchaSettings;
            this._addressSettings      = addressSettings;
            this._rewardPointsSettings = rewardPointsSettings;
        }
Beispiel #58
0
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
                           IManufacturerService manufacturerService, IProductService productService,
                           ICustomerService customerService,
                           IUrlRecordService urlRecordService,
                           IPictureService pictureService,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IDiscountService discountService,
                           IPermissionService permissionService,
                           IAclService aclService,
                           IStoreService storeService,
                           IStoreMappingService storeMappingService,
                           IExportManager exportManager,
                           IVendorService vendorService,
                           ICustomerActivityService customerActivityService,
                           CatalogSettings catalogSettings)
 {
     this._categoryService         = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService     = manufacturerService;
     this._productService          = productService;
     this._customerService         = customerService;
     this._urlRecordService        = urlRecordService;
     this._pictureService          = pictureService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._discountService         = discountService;
     this._permissionService       = permissionService;
     this._vendorService           = vendorService;
     this._aclService              = aclService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._exportManager           = exportManager;
     this._customerActivityService = customerActivityService;
     this._catalogSettings         = catalogSettings;
 }
Beispiel #59
0
 public ManufacturerController(IAclService aclService,
                               ICustomerActivityService customerActivityService,
                               ICustomerService customerService,
                               IDiscountService discountService,
                               IExportManager exportManager,
                               IImportManager importManager,
                               ILocalizationService localizationService,
                               ILocalizedEntityService localizedEntityService,
                               IManufacturerModelFactory manufacturerModelFactory,
                               IManufacturerService manufacturerService,
                               INotificationService notificationService,
                               IPermissionService permissionService,
                               IPictureService pictureService,
                               IProductService productService,
                               IStoreMappingService storeMappingService,
                               IStoreService storeService,
                               IUrlRecordService urlRecordService,
                               IWorkContext workContext)
 {
     _aclService = aclService;
     _customerActivityService  = customerActivityService;
     _customerService          = customerService;
     _discountService          = discountService;
     _exportManager            = exportManager;
     _importManager            = importManager;
     _localizationService      = localizationService;
     _localizedEntityService   = localizedEntityService;
     _manufacturerModelFactory = manufacturerModelFactory;
     _manufacturerService      = manufacturerService;
     _notificationService      = notificationService;
     _permissionService        = permissionService;
     _pictureService           = pictureService;
     _productService           = productService;
     _storeMappingService      = storeMappingService;
     _storeService             = storeService;
     _urlRecordService         = urlRecordService;
     _workContext = workContext;
 }
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
                           IManufacturerService manufacturerService, IProductService productService,
                           ICustomerService customerService,
                           IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
                           ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
                           IDiscountService discountService, IPermissionService permissionService,
                           IAclService aclService, IStoreService storeService, IStoreMappingService storeMappingService,
                           IExportManager exportManager, IWorkContext workContext,
                           ICustomerActivityService customerActivityService,
                           IDateTimeHelper dateTimeHelper,
                           AdminAreaSettings adminAreaSettings,
                           CatalogSettings catalogSettings,
                           IEventPublisher eventPublisher, IFilterService filterService)
 {
     this._categoryService         = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService     = manufacturerService;
     this._productService          = productService;
     this._customerService         = customerService;
     this._urlRecordService        = urlRecordService;
     this._pictureService          = pictureService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._discountService         = discountService;
     this._permissionService       = permissionService;
     this._aclService              = aclService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._exportManager           = exportManager;
     this._workContext             = workContext;
     this._customerActivityService = customerActivityService;
     this._dateTimeHelper          = dateTimeHelper;
     this._adminAreaSettings       = adminAreaSettings;
     this._catalogSettings         = catalogSettings;
     this._eventPublisher          = eventPublisher;
     this._filterService           = filterService;
 }