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 VendorController(IWorkContext workContext,
            ILocalizationService localizationService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
            IVendorService vendorService,
            IUrlRecordService urlRecordService,
            IPictureService pictureService,
            LocalizationSettings localizationSettings,
            VendorSettings vendorSettings,
            CaptchaSettings captchaSettings,
            MediaSettings mediaSettings)
        {
            this._workContext = workContext;
            this._localizationService = localizationService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;
            this._vendorService = vendorService;
            this._urlRecordService = urlRecordService;
            this._pictureService = pictureService;

            this._localizationSettings = localizationSettings;
            this._vendorSettings = vendorSettings;
            this._captchaSettings = captchaSettings;
            this._mediaSettings = mediaSettings;
        }
 public RobotsTxtManager(
     ISettingService settingService,
     ILocalizationService localizationService,
     LocalizationSettings localizationSettings,
     IStoreContext storeContext,
     ILanguageService languageService,
     IBlogService blogService,
     INewsService newsService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ITopicService topicService,
     IVendorService vendorService,
     IProductService productService)
 {
     _settingService = settingService;
     _localizationService = localizationService;
     _localizationSettings = localizationSettings;
     _storeContext = storeContext;
     _languageService = languageService;
     _blogService = blogService;
     _newsService = newsService;
     _categoryService = categoryService;
     _manufacturerService = manufacturerService;
     _topicService = topicService;
     _vendorService = vendorService;
     _productService = productService;
     _storeId = _storeContext.CurrentStore.Id;
     _languages = _languageService.GetAllLanguages(storeId: _storeId);
 }
 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 WebWorkContext(HttpContextBase httpContext,
     ICustomerService customerService,
     IVendorService vendorService,
     IStoreContext storeContext,
     IAuthenticationService authenticationService,
     ILanguageService languageService,
     ICurrencyService currencyService,
     IGenericAttributeService genericAttributeService,
     TaxSettings taxSettings, 
     CurrencySettings currencySettings,
     LocalizationSettings localizationSettings,
     IUserAgentHelper userAgentHelper,
     IStoreMappingService storeMappingService)
 {
     this._httpContext = httpContext;
     this._customerService = customerService;
     this._vendorService = vendorService;
     this._storeContext = storeContext;
     this._authenticationService = authenticationService;
     this._languageService = languageService;
     this._currencyService = currencyService;
     this._genericAttributeService = genericAttributeService;
     this._taxSettings = taxSettings;
     this._currencySettings = currencySettings;
     this._localizationSettings = localizationSettings;
     this._userAgentHelper = userAgentHelper;
     this._storeMappingService = storeMappingService;
 }
 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, 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._vendorService = vendorService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
 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 PurchaseOrderController(IPurchaseOrderService purchaseOrderService,IVendorService vendorService, IContactService contactService,IUserService userService, IGroupService groupService)
 {
     this.purchaseOrderService = purchaseOrderService;
     this.vendorService = vendorService;
     this.contactService = contactService;
     this.groupService = groupService;
     this.userService = userService;
 }
		public TransactionService(IDatabase database, IAccountService accountService, ICategoryService categoryService, IVendorService vendorService, IBillService billService)
			: base(database)
		{
			_accountService = accountService;
			_categoryService = categoryService;
			_vendorService = vendorService;
			_billService = billService;
		}
        public ProductMonitorPresenter(IProductMonitor view, IVendorService vendorService, IProductUpdateService productUpdateService)
        {
            _view = view;
            _vendorService = vendorService;
            _productUpdateService = productUpdateService;

            Initialize();
        }
 public ProductController(IProductService productService,  IContactService contactService,IVendorService vendorService,ILeadService leadService, IPotentialService potentialService, IAccountService accountService)
 {
     this.productService = productService;
     this.contactService = contactService;
     this.vendorService = vendorService;
     this.leadService = leadService;
     this.potentialService = potentialService;
     this.accountService = accountService;
 }
 public SelectSellController(IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     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,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IStoreContext storeContext,
     IRepository<StoreMapping> storeMapping)
 {
     _workContext = workContext;
     _productService = productService;
     _pictureService = pictureService;
     _localizationService = localizationService;
     _categoryService = categoryService;
     _manufacturerService = manufacturerService;
     _storeService = storeService;
     _shippingService = shippingService;
     _vendorService = vendorService;
     _storeMappingService = storeMappingService;
     _storeContext = storeContext;
     _storeMapping = storeMapping;
 }
Exemple #13
0
 public VendorController(ICustomerService customerService, 
     ILocalizationService localizationService,
     IVendorService vendorService, 
     IPermissionService permissionService)
 {
     this._customerService = customerService;
     this._localizationService = localizationService;
     this._vendorService = vendorService;
     this._permissionService = permissionService;
 }
 public AdvertisementsController(IAdvertisementService advertisementService,
     IDateTimeHelper dateTimeHelper,
     IWorkContext workContext, 
     IVendorService vendorService,
     IStoreService storeService)
 {
     _advertisementService = advertisementService;
     _dateTimeHelper = dateTimeHelper;
     _workContext = workContext;
     _vendorService = vendorService;
     _storeService = storeService;
 }
        private readonly IVendorService _vendorService; //add by hz

        #endregion Fields

        #region Constructors

        public BackwardCompatibility2XController(IProductService productService,
            ICategoryService categoryService, IManufacturerService manufacturerService,
            INewsService newsService, IBlogService blogService
            ,IVendorService vendorService//add by hz
            )
        {
            this._productService = productService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._newsService = newsService;
            this._blogService = blogService;
            this._vendorService = vendorService;//add by hz
        }
Exemple #16
0
        private readonly IVendorService _sendorService; //add by hz

        #endregion Fields

        #region Constructors

        public ImportManager(IProductService productService, ICategoryService categoryService,
           IManufacturerService manufacturerService,
           IPictureService pictureService,
           IUrlRecordService urlRecordService
           , IVendorService sendorService//add by hz
           )
        {
            this._productService = productService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._pictureService = pictureService;
            this._urlRecordService = urlRecordService;
            this._sendorService = sendorService;//add by hz
        }
 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,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService, 
     IVendorService vendorService,
     IAclService aclService,
     IPermissionService permissionService,
     CatalogSettings catalogSettings,
     IWorkContext workContext,
     IImportManager importManager, 
     ICacheManager cacheManager)
 {
     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._discountService = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._catalogSettings = catalogSettings;
     this._workContext = workContext;
     this._importManager = importManager;
     this._cacheManager = cacheManager;
 }
Exemple #18
0
        private readonly IVendorService _vendorService; //add by hz

        #endregion Fields

        #region Constructors

        public ExportManager(ICategoryService categoryService,
            IManufacturerService manufacturerService,
            IProductService productService,
            IPictureService pictureService,
            INewsLetterSubscriptionService newsLetterSubscriptionService,
            StoreInformationSettings vendorInformationSettings
            , IVendorService vendorService //add by hz
            )
        {
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._pictureService = pictureService;
            this._newsLetterSubscriptionService = newsLetterSubscriptionService;
            this._storeInformationSettings = vendorInformationSettings;
            this._vendorService = vendorService;//add by hz
        }
 public VendorController(ICustomerService customerService, 
     ILocalizationService localizationService,
     IVendorService vendorService, 
     IPermissionService permissionService,
     IUrlRecordService urlRecordService,
     ILanguageService languageService,
     ILocalizedEntityService localizedEntityService,
     VendorSettings vendorSettings)
 {
     this._customerService = customerService;
     this._localizationService = localizationService;
     this._vendorService = vendorService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._vendorSettings = vendorSettings;
 }
        private readonly IWorkContext _workContext; //add by hz

        #endregion Fields

        #region Constructors

        public ProductReviewController(ICustomerContentService customerContentService,
            IProductService productService, IDateTimeHelper dateTimeHelper,
            ILocalizationService localizationService, IPermissionService permissionService
            ,IWorkContext workContext//add by hz
            , IVendorService vendorService//add by hz
            ,IRepository<ProductVendor> productVendorRepository
            )
        {
            this._customerContentService = customerContentService;
            this._productService = productService;
            this._dateTimeHelper = dateTimeHelper;
            this._localizationService = localizationService;
            this._permissionService = permissionService;
            this._workContext = workContext;
            this._vendorService = vendorService;//add by hz
            customerVendorId = _vendorService.GetVendorIdByCustomerId(_workContext.CurrentCustomer.Id);//add by hz
            _productVendorRepository = productVendorRepository;
        }
        private readonly IVendorService _vendorService; //add by hz

        #endregion Fields

        #region Constructors

        public BackwardCompatibility1XController(IProductService productService,
            ICategoryService categoryService, IManufacturerService manufacturerService,
            IProductTagService productTagService, INewsService newsService,
            IBlogService blogService, ITopicService topicService,
            IForumService forumService, ICustomerService customerService
            , IVendorService vendorService//add by hz
            )
        {
            this._productService = productService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productTagService = productTagService;
            this._newsService = newsService;
            this._blogService = blogService;
            this._topicService = topicService;
            this._forumService = forumService;
            this._customerService = customerService;
            this._vendorService = vendorService;//add by hz
        }
        public VendorController(IWorkContext workContext, 
            ILocalizationService localizationService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
            IVendorService vendorService,
            IUrlRecordService urlRecordService,
            LocalizationSettings localizationSettings,
            VendorSettings vendorSettings)
        {
            this._workContext = workContext;
            this._localizationService = localizationService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;
            this._vendorService = vendorService;
            this._urlRecordService = urlRecordService;

            this._localizationSettings = localizationSettings;
            this._vendorSettings = vendorSettings;
        }
 public RobotsTxtController(ISettingService settingService,
     ILocalizationService localizationService,
     LocalizationSettings localizationSettings,
     IStoreContext storeContext,
     ILanguageService languageService,
     IBlogService blogService,
     INewsService newsService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ITopicService topicService,
     IVendorService vendorService,
     IProductService productService)
 {
     _manager = new RobotsTxtManager(settingService, localizationService, localizationSettings,
         storeContext, languageService, blogService, newsService, categoryService, manufacturerService,
         topicService, vendorService, productService);
     _localizationService = localizationService;
     _settingService = settingService;
 }
Exemple #24
0
        public OrderRepository(
            IJobManager manager,
            SupportedOrderStore supportedOrderStore,
            AccountManager accountManager,
            IHRIDService hridService,
            IPaymentManager paymentManager,
            IVendorService vendorService
            )
        {
            this.manager = manager;
            this.supportedOrderStore = supportedOrderStore;
            this.accountManager = accountManager;
            this.hridService = hridService;
            this.vendorService = vendorService;

            orderCalculationService = new DefaultOrderCalculationService();
            serviceChargeCalculationService = new DefaultDeliveryServiceChargeCalculationService();
            paymentService = new PaymentService(paymentManager);
        }
        public CheckoutController(IWorkContext workContext,
            IShoppingCartService shoppingCartService, ILocalizationService localizationService, 
            ITaxService taxService, ICurrencyService currencyService, 
            IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
            ICustomerService customerService,  IGenericAttributeService genericAttributeService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService, IShippingService shippingService, 
            IPaymentService paymentService, IOrderTotalCalculationService orderTotalCalculationService,
            ILogger logger, IOrderService orderService, IWebHelper webHelper,
            HttpContextBase httpContext, IMobileDeviceHelper mobileDeviceHelper,
            OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
            PaymentSettings paymentSettings, AddressSettings addressSettings
            , IVendorService vendorService //add by hz
            )
        {
            this._workContext = workContext;
            this._shoppingCartService = shoppingCartService;
            this._localizationService = localizationService;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._customerService = customerService;
            this._genericAttributeService = genericAttributeService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._paymentService = paymentService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._logger = logger;
            this._orderService = orderService;
            this._webHelper = webHelper;
            this._httpContext = httpContext;
            this._mobileDeviceHelper = mobileDeviceHelper;

            this._orderSettings = orderSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._paymentSettings = paymentSettings;
            this._addressSettings = addressSettings;

            this._vendorService = vendorService;//add by hz
        }
 public VendorController(ICustomerService customerService, 
     ILocalizationService localizationService,
     IVendorService vendorService, 
     IPermissionService permissionService,
     IUrlRecordService urlRecordService,
     ILanguageService languageService,
     IPictureService pictureService,
     IDateTimeHelper dateTimeHelper,
     VendorSettings vendorSettings)
 {
     this._customerService = customerService;
     this._localizationService = localizationService;
     this._vendorService = vendorService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._languageService = languageService;
     this._pictureService = pictureService;
     this._dateTimeHelper = dateTimeHelper;
     this._vendorSettings = vendorSettings;
 }
 public CustomerRoleViewModelService(ICustomerService customerService,
                                     ILocalizationService localizationService,
                                     ICustomerActivityService customerActivityService,
                                     IPermissionService permissionService,
                                     IProductService productService,
                                     ICategoryService categoryService,
                                     IManufacturerService manufacturerService,
                                     IStoreService storeService,
                                     IVendorService vendorService,
                                     IWorkContext workContext)
 {
     _customerService         = customerService;
     _localizationService     = localizationService;
     _customerActivityService = customerActivityService;
     _productService          = productService;
     _categoryService         = categoryService;
     _manufacturerService     = manufacturerService;
     _storeService            = storeService;
     _vendorService           = vendorService;
     _workContext             = workContext;
 }
Exemple #28
0
        public VendorController(IWorkContext workContext,
                                ILocalizationService localizationService,
                                ICustomerService customerService,
                                IWorkflowMessageService workflowMessageService,
                                IVendorService vendorService,
                                IUrlRecordService urlRecordService,
                                LocalizationSettings localizationSettings,
                                VendorSettings vendorSettings,
                                CaptchaSettings captchaSettings)
        {
            this._workContext            = workContext;
            this._localizationService    = localizationService;
            this._customerService        = customerService;
            this._workflowMessageService = workflowMessageService;
            this._vendorService          = vendorService;
            this._urlRecordService       = urlRecordService;

            this._localizationSettings = localizationSettings;
            this._vendorSettings       = vendorSettings;
            this._captchaSettings      = captchaSettings;
        }
 public CustomerTagViewModelService(
     ILocalizationService localizationService,
     ICustomerActivityService customerActivityService,
     IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IStoreService storeService,
     IVendorService vendorService,
     ICustomerTagService customerTagService,
     IDateTimeHelper dateTimeHelper)
 {
     _localizationService     = localizationService;
     _customerActivityService = customerActivityService;
     _productService          = productService;
     _categoryService         = categoryService;
     _manufacturerService     = manufacturerService;
     _storeService            = storeService;
     _vendorService           = vendorService;
     _customerTagService      = customerTagService;
     _dateTimeHelper          = dateTimeHelper;
 }
Exemple #30
0
 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,
                               IDiscountService discountService,
                               ICustomerActivityService customerActivityService,
                               IVendorService vendorService,
                               IAclService aclService,
                               IPermissionService permissionService,
                               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._discountService         = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService           = vendorService;
     this._aclService        = aclService;
     this._permissionService = permissionService;
     this._catalogSettings   = catalogSettings;
 }
 public ImportManager(IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IPictureService pictureService,
     IUrlRecordService urlRecordService,
     IStoreContext storeContext,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     IEncryptionService encryptionService,
     IDataProvider dataProvider,
     MediaSettings mediaSettings,
     IVendorService vendorService,
     IProductTemplateService productTemplateService,
     IShippingService shippingService,
     ITaxCategoryService taxCategoryService,
     IMeasureService measureService,
     IProductAttributeService productAttributeService,
     CatalogSettings catalogSettings)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._pictureService = pictureService;
     this._urlRecordService = urlRecordService;
     this._storeContext = storeContext;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._encryptionService = encryptionService;
     this._dataProvider = dataProvider;
     this._mediaSettings = mediaSettings;
     this._vendorService = vendorService;
     this._productTemplateService = productTemplateService;
     this._shippingService = shippingService;
     this._taxCategoryService = taxCategoryService;
     this._measureService = measureService;
     this._productAttributeService = productAttributeService;
     this._catalogSettings = catalogSettings;
 }
 public CatalogController(CatalogSettings catalogSettings,
                          IAclService aclService,
                          ICatalogModelFactory catalogModelFactory,
                          ICategoryService categoryService,
                          ICustomerActivityService customerActivityService,
                          IGenericAttributeService genericAttributeService,
                          ILocalizationService localizationService,
                          IManufacturerService manufacturerService,
                          IPermissionService permissionService,
                          IProductModelFactory productModelFactory,
                          IProductService productService,
                          IProductTagService productTagService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IVendorService vendorService,
                          IWebHelper webHelper,
                          IWorkContext workContext,
                          MediaSettings mediaSettings,
                          VendorSettings vendorSettings)
 {
     _catalogSettings         = catalogSettings;
     _aclService              = aclService;
     _catalogModelFactory     = catalogModelFactory;
     _categoryService         = categoryService;
     _customerActivityService = customerActivityService;
     _genericAttributeService = genericAttributeService;
     _localizationService     = localizationService;
     _manufacturerService     = manufacturerService;
     _permissionService       = permissionService;
     _productModelFactory     = productModelFactory;
     _productService          = productService;
     _productTagService       = productTagService;
     _storeContext            = storeContext;
     _storeMappingService     = storeMappingService;
     _vendorService           = vendorService;
     _webHelper      = webHelper;
     _workContext    = workContext;
     _mediaSettings  = mediaSettings;
     _vendorSettings = vendorSettings;
 }
 public VendorController(ICustomerService customerService,
                         ILocalizationService localizationService,
                         IVendorService vendorService,
                         IPermissionService permissionService,
                         IUrlRecordService urlRecordService,
                         ILanguageService languageService,
                         ILocalizedEntityService localizedEntityService,
                         IPictureService pictureService,
                         IDateTimeHelper dateTimeHelper,
                         VendorSettings vendorSettings,
                         ICustomerActivityService customerActivityService,
                         IAddressService addressService,
                         ICountryService countryService,
                         IStateProvinceService stateProvinceService,
                         IStoreService storeService,
                         IStoreMappingService storeMappingService,
                         IGenericAttributeService genericAttributeService,
                         ICustomerRegistrationService customerRegistrationService,
                         CustomerSettings customerSettings)
 {
     this._customerService             = customerService;
     this._localizationService         = localizationService;
     this._vendorService               = vendorService;
     this._permissionService           = permissionService;
     this._urlRecordService            = urlRecordService;
     this._languageService             = languageService;
     this._localizedEntityService      = localizedEntityService;
     this._pictureService              = pictureService;
     this._dateTimeHelper              = dateTimeHelper;
     this._vendorSettings              = vendorSettings;
     this._customerActivityService     = customerActivityService;
     this._addressService              = addressService;
     this._countryService              = countryService;
     this._stateProvinceService        = stateProvinceService;
     this._storeService                = storeService;
     this._storeMappingService         = storeMappingService;
     this._genericAttributeService     = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerSettings            = customerSettings;
 }
Exemple #34
0
 public CommonController(CaptchaSettings captchaSettings,
                         CommonSettings commonSettings,
                         ICommonModelFactory commonModelFactory,
                         ICurrencyService currencyService,
                         ICustomerActivityService customerActivityService,
                         IGenericAttributeService genericAttributeService,
                         ILanguageService languageService,
                         ILocalizationService localizationService,
                         ILogger logger,
                         IStoreContext storeContext,
                         IThemeContext themeContext,
                         IVendorService vendorService,
                         IWorkContext workContext,
                         IWorkflowMessageService workflowMessageService,
                         LocalizationSettings localizationSettings,
                         SitemapSettings sitemapSettings,
                         SitemapXmlSettings sitemapXmlSettings,
                         StoreInformationSettings storeInformationSettings,
                         VendorSettings vendorSettings)
 {
     _captchaSettings         = captchaSettings;
     _commonSettings          = commonSettings;
     _commonModelFactory      = commonModelFactory;
     _currencyService         = currencyService;
     _customerActivityService = customerActivityService;
     _genericAttributeService = genericAttributeService;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _logger                   = logger;
     _storeContext             = storeContext;
     _themeContext             = themeContext;
     _vendorService            = vendorService;
     _workContext              = workContext;
     _workflowMessageService   = workflowMessageService;
     _localizationSettings     = localizationSettings;
     _sitemapSettings          = sitemapSettings;
     _sitemapXmlSettings       = sitemapXmlSettings;
     _storeInformationSettings = storeInformationSettings;
     _vendorSettings           = vendorSettings;
 }
 public ReportsController(IOrderService orderService,
                          IOrderReportService orderReportService,
                          IProductsReportService productsReportService,
                          ICustomerReportService customerReportService,
                          ICustomerReportViewModelService customerReportViewModelService,
                          IPermissionService permissionService,
                          IWorkContext workContext,
                          IPriceFormatter priceFormatter,
                          IProductService productService,
                          IProductAttributeFormatter productAttributeFormatter,
                          IStockQuantityService stockQuantityService,
                          ITranslationService translationService,
                          IStoreService storeService,
                          ICountryService countryService,
                          IVendorService vendorService,
                          IDateTimeService dateTimeService,
                          ISearchTermService searchTermService,
                          IGroupService groupService,
                          IOrderStatusService orderStatusService)
 {
     _orderService                   = orderService;
     _orderReportService             = orderReportService;
     _productsReportService          = productsReportService;
     _customerReportService          = customerReportService;
     _customerReportViewModelService = customerReportViewModelService;
     _permissionService              = permissionService;
     _workContext               = workContext;
     _priceFormatter            = priceFormatter;
     _productService            = productService;
     _productAttributeFormatter = productAttributeFormatter;
     _stockQuantityService      = stockQuantityService;
     _translationService        = translationService;
     _storeService              = storeService;
     _countryService            = countryService;
     _vendorService             = vendorService;
     _dateTimeService           = dateTimeService;
     _searchTermService         = searchTermService;
     _groupService              = groupService;
     _orderStatusService        = orderStatusService;
 }
Exemple #36
0
        private readonly IExportManager _exportManager; //NOP 3.826

        #endregion

        #region Constructors

        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,
                                  ICacheManager cacheManager,
                                  IImportManager importManager, //NOP 3.826
                                  IExportManager exportManager) //NOP 3.826
        {
            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;
            this._cacheManager            = cacheManager;
            this._importManager           = importManager; //NOP 3.826
            this._exportManager           = exportManager; //NOP 3.826
        }
Exemple #37
0
 public HasAllProductsController(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 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;
 }
Exemple #39
0
 public DiscountRulesHasOneProductController(IDiscountService discountService,
                                             ISettingService settingService,
                                             IPermissionService permissionService,
                                             IWorkContext workContext,
                                             ILocalizationService localizationService,
                                             ICategoryService categoryService,
                                             IManufacturerService manufacturerService,
                                             IStoreService storeService,
                                             IVendorService vendorService,
                                             IProductService productService)
 {
     this._discountService     = discountService;
     this._settingService      = settingService;
     this._permissionService   = permissionService;
     this._workContext         = workContext;
     this._localizationService = localizationService;
     this._categoryService     = categoryService;
     this._manufacturerService = manufacturerService;
     this._storeService        = storeService;
     this._vendorService       = vendorService;
     this._productService      = productService;
 }
Exemple #40
0
 public ADController(ICategoryService categoryService, ILocalizationService localizationService, IWorkContext workContext,
                     IManufacturerService manufacturerService,
                     IVendorService vendorService,
                     IProductService productService,
                     IStoreContext storeContext,
                     IStoreService storeService,
                     IPictureService pictureService,
                     ISettingService settingService,
                     ICacheManager cacheManager)
 {
     this._manufacturerService = manufacturerService;
     this._categoryService     = categoryService;
     this._localizationService = localizationService;
     this._productService      = productService;
     this._workContext         = workContext;
     this._storeContext        = storeContext;
     this._storeService        = storeService;
     this._pictureService      = pictureService;
     this._settingService      = settingService;
     this._cacheManager        = cacheManager;
     this._vendorService       = vendorService;
 }
 public VendorViewModelService(
     IWorkContext workContext,
     IVendorService vendorService,
     IDateTimeHelper dateTimeHelper,
     IWorkflowMessageService workflowMessageService,
     IServiceProvider serviceProvider,
     VendorSettings vendorSettings,
     CustomerSettings customerSettings,
     CaptchaSettings captchaSettings,
     LocalizationSettings localizationSettings)
 {
     _workContext            = workContext;
     _vendorService          = vendorService;
     _vendorService          = vendorService;
     _dateTimeHelper         = dateTimeHelper;
     _workflowMessageService = workflowMessageService;
     _serviceProvider        = serviceProvider;
     _vendorSettings         = vendorSettings;
     _customerSettings       = customerSettings;
     _captchaSettings        = captchaSettings;
     _localizationSettings   = localizationSettings;
 }
        public IActionResult VendorDelete(string discountId, string vendorId, [FromServices] IVendorService vendorService)
        {
            var discount = _discountService.GetDiscountById(discountId);

            if (discount == null)
            {
                throw new Exception("No discount found with the specified id");
            }

            var vendor = vendorService.GetVendorById(vendorId);

            if (vendor == null)
            {
                throw new Exception("No vendor found with the specified id");
            }
            if (ModelState.IsValid)
            {
                _discountViewModelService.DeleteVendor(discount, vendor);
                return(new NullJsonResult());
            }
            return(ErrorForKendoGridJson(ModelState));
        }
 public HomeController(IUserService userService,
                       IOfferService offerService,
                       IAuthenticationService authenticationService,
                       IAdministrationService administrationService,
                       IVendorService vendorService,
                       IPeopleFactory peopleFactory,
                       IAddressModelFactory addressModelFactory,
                       ICustomerService customerService,
                       IProviderService providerService,
                       IRoleService roleService)
 {
     _userService           = userService;
     _offerService          = offerService;
     _authenticationService = authenticationService;
     _administrationService = administrationService;
     _vendorService         = vendorService;
     _peopleFactory         = peopleFactory;
     _addressModelFactory   = addressModelFactory;
     _customerService       = customerService;
     _providerService       = providerService;
     _roleService           = roleService;
 }
 public VendorDetailsEnhancedViewComponent(IStoreContext storeContext,
                                           ISettingService settingService,
                                           ILocalizationService localizationService,
                                           IWebHelper webHelper,
                                           VendorEnhancedSettings vendorEnhancedSettings,
                                           IRepository <Vendor> vendorRepository,
                                           IVendorService vendorService,
                                           MediaSettings mediaSettings,
                                           IPictureService pictureService,
                                           IRepository <VendorPictureRecord> vendorPictureRecordRepository)
 {
     this._storeContext                  = storeContext;
     this._settingService                = settingService;
     this._localizationService           = localizationService;
     this._webHelper                     = webHelper;
     this._vendorEnhancedSettings        = vendorEnhancedSettings;
     this._vendorRepository              = vendorRepository;
     this._vendorService                 = vendorService;
     this._mediaSettings                 = mediaSettings;
     this._pictureService                = pictureService;
     this._vendorPictureRecordRepository = vendorPictureRecordRepository;
 }
 public VendorController(ICustomerService customerService,
                         ILocalizationService localizationService,
                         IVendorService vendorService,
                         IPermissionService permissionService,
                         IUrlRecordService urlRecordService,
                         ILanguageService languageService,
                         ILocalizedEntityService localizedEntityService,
                         IPictureService pictureService,
                         IDateTimeHelper dateTimeHelper,
                         VendorSettings vendorSettings)
 {
     this._customerService        = customerService;
     this._localizationService    = localizationService;
     this._vendorService          = vendorService;
     this._permissionService      = permissionService;
     this._urlRecordService       = urlRecordService;
     this._languageService        = languageService;
     this._localizedEntityService = localizedEntityService;
     this._pictureService         = pictureService;
     this._dateTimeHelper         = dateTimeHelper;
     this._vendorSettings         = vendorSettings;
 }
 public SearchController(IProductService productService, ICategoryService categoryService,
                         IBrandService brandService, ICollectionService collectionService,
                         IPageService pageService, INewsService newsService, IBlogService blogService, ICustomerService customerService, IOrderService orderService,
                         AdminSearchSettings adminSearchSettings, ITranslationService translationService, IWorkContext workContext, IGroupService groupService,
                         IStoreService storeService, IVendorService vendorService)
 {
     _productService      = productService;
     _categoryService     = categoryService;
     _brandService        = brandService;
     _collectionService   = collectionService;
     _pageService         = pageService;
     _newsService         = newsService;
     _blogService         = blogService;
     _customerService     = customerService;
     _orderService        = orderService;
     _adminSearchSettings = adminSearchSettings;
     _translationService  = translationService;
     _workContext         = workContext;
     _groupService        = groupService;
     _storeService        = storeService;
     _vendorService       = vendorService;
 }
 public DiscountRulesHasOneProductController(IDiscountService discountService,
     ISettingService settingService,
     IPermissionService permissionService,
     IWorkContext workContext,
     ILocalizationService localizationService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IStoreService storeService,
     IVendorService vendorService,
     IProductService productService)
 {
     this._discountService = discountService;
     this._settingService = settingService;
     this._permissionService = permissionService;
     this._workContext = workContext;
     this._localizationService = localizationService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._storeService = storeService;
     this._vendorService = vendorService;
     this._productService = productService;
 }
Exemple #48
0
 public CategoryViewModelService(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService, IDiscountService discountService,
                                 ILocalizationService localizationService, IStoreService storeService, ICustomerService customerService, IPictureService pictureService,
                                 IUrlRecordService urlRecordService, ICustomerActivityService customerActivityService, IProductService productService, IManufacturerService manufacturerService,
                                 IVendorService vendorService, IDateTimeHelper dateTimeHelper, ILanguageService languageService, CatalogSettings catalogSettings, SeoSettings seoSettings)
 {
     _categoryService         = categoryService;
     _categoryTemplateService = categoryTemplateService;
     _discountService         = discountService;
     _localizationService     = localizationService;
     _storeService            = storeService;
     _customerService         = customerService;
     _urlRecordService        = urlRecordService;
     _customerActivityService = customerActivityService;
     _productService          = productService;
     _pictureService          = pictureService;
     _manufacturerService     = manufacturerService;
     _vendorService           = vendorService;
     _languageService         = languageService;
     _catalogSettings         = catalogSettings;
     _dateTimeHelper          = dateTimeHelper;
     _seoSettings             = seoSettings;
 }
Exemple #49
0
        public void GetAll_Returns_Ok_When_All_Valid()
        {
            //Arrange

            var vendorList = new List <Vendor> {
                new Vendor {
                    VendorID    = 1,
                    VendorName  = "hahaha",
                    VendorPhone = "9998887766"
                },
                new Vendor {
                    VendorID    = 2,
                    VendorName  = "lalala",
                    VendorPhone = "1112223344"
                },
            };

            Mock <IVendorService> mockService = new Mock <IVendorService>();

            mockService.Setup(m => m.GetVendorList()).Returns(vendorList);

            IVendorService vendorService = mockService.Object;

            VendorsController controller = new VendorsController(vendorService);

            //Act

            ActionResult actionResult = controller.Get();

            //Asserts

            Assert.NotNull(actionResult);
            var result = Assert.IsType <OkObjectResult>(actionResult);

            List <Vendor> list = result.Value as List <Vendor>;

            Assert.Equal(2, list.Count);
        }
Exemple #50
0
 public ExportManager(ICategoryService categoryService,
                      IManufacturerService manufacturerService,
                      ICustomerService customerService,
                      IProductAttributeService productAttributeService,
                      IPictureService pictureService,
                      //INewsLetterSubscriptionService newsLetterSubscriptionService,
                      IStoreService storeService,
                      IWorkContext workContext,
                      ProductEditorSettings productEditorSettings,
                      IVendorService vendorService,
                      IProductTemplateService productTemplateService,
                      //IDateRangeService dateRangeService,
                      //ITaxCategoryService taxCategoryService,
                      //IMeasureService measureService,
                      IGenericAttributeService genericAttributeService,
                      //ICustomerAttributeFormatter customerAttributeFormatter,
                      ISettingService settingService)
 {
     this._categoryService         = categoryService;
     this._manufacturerService     = manufacturerService;
     this._customerService         = customerService;
     this._productAttributeService = productAttributeService;
     this._pictureService          = pictureService;
     //this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._storeService           = storeService;
     this._workContext            = workContext;
     this._productEditorSettings  = productEditorSettings;
     this._vendorService          = vendorService;
     this._productTemplateService = productTemplateService;
     //this._dateRangeService = dateRangeService;
     //this._taxCategoryService = taxCategoryService;
     //this._measureService = measureService;
     this._settingService          = settingService;
     this._genericAttributeService = genericAttributeService;
     //this._customerAttributeFormatter = customerAttributeFormatter;
     this._catalogSettings = _settingService.LoadSetting <CatalogSettings>();
     this._orderSettings   = _settingService.LoadSetting <OrderSettings>();
 }
 public BaseAdminModelFactory(ICategoryService categoryService,
                              ICategoryTemplateService categoryTemplateService,
                              ICountryService countryService,
                              ICurrencyService currencyService,
                              ICustomerActivityService customerActivityService,
                              ICustomerService customerService,
                              IDateTimeHelper dateTimeHelper,
                              IEmailAccountService emailAccountService,
                              ILanguageService languageService,
                              ILocalizationService localizationService,
                              IManufacturerService manufacturerService,
                              IManufacturerTemplateService manufacturerTemplateService,
                              IPluginFinder pluginFinder,
                              IStateProvinceService stateProvinceService,
                              IStaticCacheManager cacheManager,
                              IStoreService storeService,
                              ITopicTemplateService topicTemplateService,
                              IVendorService vendorService)
 {
     this._categoryService             = categoryService;
     this._categoryTemplateService     = categoryTemplateService;
     this._countryService              = countryService;
     this._currencyService             = currencyService;
     this._customerActivityService     = customerActivityService;
     this._customerService             = customerService;
     this._dateTimeHelper              = dateTimeHelper;
     this._emailAccountService         = emailAccountService;
     this._languageService             = languageService;
     this._localizationService         = localizationService;
     this._manufacturerService         = manufacturerService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._pluginFinder         = pluginFinder;
     this._stateProvinceService = stateProvinceService;
     this._cacheManager         = cacheManager;
     this._storeService         = storeService;
     this._topicTemplateService = topicTemplateService;
     this._vendorService        = vendorService;
 }
 public ExtendedVendorController(IExtendedVendorService extendedVendorService,
                                 IPermissionService permissionService,
                                 IPictureService pictureService,
                                 IVendorService vendorService,
                                 ICountryService countryService,
                                 IStateProvinceService stateProvinceService,
                                 ICacheManager cacheManager,
                                 ILocalizationService localizationService,
                                 IWorkContext workContext,
                                 IOrderService orderService,
                                 IProductService productService,
                                 CatalogSettings catalogSettings,
                                 IWorkflowMessageService workflowMessageService,
                                 ICustomerActivityService customerActivityService,
                                 LocalizationSettings localizationSettings,
                                 ISettingService settingService,
                                 IStoreService storeService,
                                 ICustomerService customerService)
 {
     this._extendedVendorService   = extendedVendorService;
     this._permissionService       = permissionService;
     this._pictureService          = pictureService;
     this._vendorService           = vendorService;
     this._countryService          = countryService;
     this._stateProvinceService    = stateProvinceService;
     this._cacheManager            = cacheManager;
     this._localizationService     = localizationService;
     this._workContext             = workContext;
     this._orderService            = orderService;
     this._productService          = productService;
     this._catalogSettings         = catalogSettings;
     this._workflowMessageService  = workflowMessageService;
     this._customerActivityService = customerActivityService;
     this._localizationSettings    = localizationSettings;
     this._settingService          = settingService;
     this._storeService            = storeService;
     this._customerService         = customerService;
 }
Exemple #53
0
 public OrderApiController(ICurrencyService currencyService,
                           ICustomerService customerService,
                           IOrderService orderService,
                           IPriceFormatter priceFormatter,
                           IPictureService pictureService,
                           IUrlRecordService urlRecordService,
                           IProductService productService,
                           ILocalizationService localizationService,
                           IStoreContext storeContext,
                           IWorkContext workContext,
                           IShoppingCartService shoppingCartService,
                           IVendorService vendorService,
                           IDateTimeHelper dateTimeHelper,
                           IPaymentService paymentService,
                           IOrderProcessingService orderProcessingService,
                           IOrderTotalCalculationService orderTotalCalculationService,
                           ICustomerActivityService customerActivityService,
                           ICompanyService companyService)
 {
     _orderService                 = orderService;
     _customerService              = customerService;
     _priceFormatter               = priceFormatter;
     _currencyService              = currencyService;
     _pictureService               = pictureService;
     _urlRecordService             = urlRecordService;
     _productService               = productService;
     _shoppingCartService          = shoppingCartService;
     _localizationService          = localizationService;
     _storeContext                 = storeContext;
     _workContext                  = workContext;
     _vendorService                = vendorService;
     _dateTimeHelper               = dateTimeHelper;
     _paymentService               = paymentService;
     _orderProcessingService       = orderProcessingService;
     _orderTotalCalculationService = orderTotalCalculationService;
     _customerActivityService      = customerActivityService;
     _companyService               = companyService;
 }
 public ExtendedVendorController(IExtendedVendorService extendedVendorService,
     IPermissionService permissionService,
     IPictureService pictureService,
     IVendorService vendorService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ICacheManager cacheManager,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IOrderService orderService,
     IProductService productService,
     CatalogSettings catalogSettings,
     IWorkflowMessageService workflowMessageService,
     ICustomerActivityService customerActivityService,
     LocalizationSettings localizationSettings,
     ISettingService settingService,
     IStoreService storeService,
     ICustomerService customerService)
 {
     this._extendedVendorService = extendedVendorService;
     this._permissionService = permissionService;
     this._pictureService = pictureService;
     this._vendorService = vendorService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._cacheManager = cacheManager;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._orderService = orderService;
     this._productService = productService;
     this._catalogSettings = catalogSettings;
     this._workflowMessageService = workflowMessageService;
     this._customerActivityService = customerActivityService;
     this._localizationSettings = localizationSettings;
     this._settingService = settingService;
     this._storeService = storeService;
     this._customerService = customerService;
 }
Exemple #55
0
 public CustomerReminderController(
     ICustomerReminderViewModelService customerReminderViewModelService,
     ICustomerService customerService,
     ICustomerAttributeService customerAttributeService,
     ICustomerTagService customerTagService,
     ILocalizationService localizationService,
     IManufacturerService manufacturerService,
     IStoreService storeService,
     IVendorService vendorService,
     ICustomerReminderService customerReminderService,
     IEmailAccountService emailAccountService)
 {
     this._customerReminderViewModelService = customerReminderViewModelService;
     this._customerService          = customerService;
     this._customerAttributeService = customerAttributeService;
     this._customerTagService       = customerTagService;
     this._localizationService      = localizationService;
     this._manufacturerService      = manufacturerService;
     this._storeService             = storeService;
     this._vendorService            = vendorService;
     this._customerReminderService  = customerReminderService;
     this._emailAccountService      = emailAccountService;
 }
Exemple #56
0
 public CategoryViewModelService(ICategoryService categoryService, IProductCategoryService productCategoryService, ICategoryLayoutService categoryLayoutService, IDiscountService discountService,
                                 ITranslationService translationService, IStoreService storeService, ICustomerService customerService, IGroupService groupService, IPictureService pictureService,
                                 ISlugService slugService, ICustomerActivityService customerActivityService, IProductService productService,
                                 IVendorService vendorService, IDateTimeService dateTimeService, ILanguageService languageService, CatalogSettings catalogSettings, SeoSettings seoSettings)
 {
     _categoryService         = categoryService;
     _productCategoryService  = productCategoryService;
     _categoryLayoutService   = categoryLayoutService;
     _discountService         = discountService;
     _translationService      = translationService;
     _storeService            = storeService;
     _customerService         = customerService;
     _groupService            = groupService;
     _slugService             = slugService;
     _customerActivityService = customerActivityService;
     _productService          = productService;
     _pictureService          = pictureService;
     _vendorService           = vendorService;
     _languageService         = languageService;
     _catalogSettings         = catalogSettings;
     _dateTimeService         = dateTimeService;
     _seoSettings             = seoSettings;
 }
        private readonly IVendorService _vendorService; //add by hz

        #endregion Fields

        #region Constructors

        public CopyProductService(IProductService productService,
            IProductAttributeService productAttributeService, ILanguageService languageService,
            ILocalizedEntityService localizedEntityService, IPictureService pictureService,
            ICategoryService categoryService, IManufacturerService manufacturerService,
            IVendorService vendorService,//add by hz
            ISpecificationAttributeService specificationAttributeService, IDownloadService downloadService,
            IProductAttributeParser productAttributeParser, IProductTagService productTagService,
            IUrlRecordService urlRecordService)
        {
            this._productService = productService;
            this._productAttributeService = productAttributeService;
            this._languageService = languageService;
            this._localizedEntityService = localizedEntityService;
            this._pictureService = pictureService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._vendorService = vendorService;//add by hz
            this._specificationAttributeService = specificationAttributeService;
            this._downloadService = downloadService;
            this._productAttributeParser = productAttributeParser;
            this._productTagService = productTagService;
            this._urlRecordService = urlRecordService;
        }
Exemple #58
0
 public GetSearchHandler(
     ICategoryService categoryService,
     ICacheManager cacheManager,
     ILocalizationService localizationService,
     IManufacturerService manufacturerService,
     IVendorService vendorService,
     ICurrencyService currencyService,
     IMediator mediator,
     ISearchTermService searchTermService,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings)
 {
     _categoryService     = categoryService;
     _cacheManager        = cacheManager;
     _localizationService = localizationService;
     _manufacturerService = manufacturerService;
     _vendorService       = vendorService;
     _currencyService     = currencyService;
     _mediator            = mediator;
     _searchTermService   = searchTermService;
     _catalogSettings     = catalogSettings;
     _vendorSettings      = vendorSettings;
 }
Exemple #59
0
 public VendorsController(
     IVendorService vendorService, 
     IReviewService reviewService, 
     IPortfolioService portfolioService, 
     IBookService bookService,
     IHistoryService historyService,
     IWorkService workService,
     IContactService contactService,
     IRatingService ratingService,
     INotificationProxy notificationProxy,
     IAnalyticsService analyticsService)
 {
     _vendorService = vendorService;
     _reviewService = reviewService;
     _portfolioService = portfolioService;
     _bookService = bookService;
     _historyService = historyService;
     _workService = workService;
     _contactService = contactService;
     _ratingService = ratingService;
     _notificationProxy = notificationProxy;
     _analyticsService = analyticsService;
 }
Exemple #60
0
 public WebWorkContext(
     IAuthenticationService authenticationService,
     ICustomerService customerService,
     IGenericAttributeService genericAttributeService,
     IHttpContextAccessor httpContextAccessor,
     ILanguageService languageService,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     IUserAgentHelper userAgentHelper,
     IVendorService vendorService,
     LocalizationSettings localizationSettings)
 {
     this._authenticationService   = authenticationService;
     this._customerService         = customerService;
     this._genericAttributeService = genericAttributeService;
     this._httpContextAccessor     = httpContextAccessor;
     this._languageService         = languageService;
     this._storeContext            = storeContext;
     this._storeMappingService     = storeMappingService;
     this._userAgentHelper         = userAgentHelper;
     this._vendorService           = vendorService;
     this._localizationSettings    = localizationSettings;
 }