public ExternalAuthorizer(IAuthenticationService authenticationService,
     IOpenAuthenticationService openAuthenticationService,
     IGenericAttributeService genericAttributeService,
     ICustomerRegistrationService customerRegistrationService, 
     ICustomerActivityService customerActivityService, 
     ILocalizationService localizationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IShoppingCartService shoppingCartService,
     IWorkflowMessageService workflowMessageService,
     IEventPublisher eventPublisher,
     LocalizationSettings localizationSettings)
 {
     this._authenticationService = authenticationService;
     this._openAuthenticationService = openAuthenticationService;
     this._genericAttributeService = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerActivityService = customerActivityService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._customerSettings = customerSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._shoppingCartService = shoppingCartService;
     this._workflowMessageService = workflowMessageService;
     this._eventPublisher = eventPublisher;
     this._localizationSettings = localizationSettings;
 }
Esempio n. 2
0
        public BlogController(IBlogService blogService, 
            IWorkContext workContext,
            IStoreContext storeContext,
            IPictureService pictureService, 
            ILocalizationService localizationService,
            IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, 
            IWebHelper webHelper,
            ICacheManager cacheManager, 
            ICustomerActivityService customerActivityService,
            IStoreMappingService storeMappingService,
            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._mediaSettings = mediaSettings;
            this._blogSettings = blogSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
        }
Esempio n. 3
0
        public OrderController(IOrderService orderService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IMeasureService measureService,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, ICustomerService customerService,
            IWorkflowMessageService workflowMessageService, 
            LocalizationSettings localizationSettings,
            MeasureSettings measureSettings, CatalogSettings catalogSettings,
            OrderSettings orderSettings, TaxSettings taxSettings, PdfSettings pdfSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._measureService = measureService;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;

            this._localizationSettings = localizationSettings;
            this._measureSettings = measureSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
        }
        public ReturnRequestController(IOrderService orderService, 
            IWorkContext workContext, 
            IStoreContext storeContext,
            ICurrencyService currencyService, 
            IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            ILocalizationService localizationService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
            IDateTimeHelper dateTimeHelper,
            LocalizationSettings localizationSettings,
            OrderSettings orderSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._localizationService = localizationService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper = dateTimeHelper;

            this._localizationSettings = localizationSettings;
            this._orderSettings = orderSettings;
        }
Esempio n. 5
0
        public NewsController(INewsService newsService, 
            IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._captchaSettings = captchaSettings;
        }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="forumGroupRepository">Forum group repository</param>
 /// <param name="forumRepository">Forum repository</param>
 /// <param name="forumTopicRepository">Forum topic repository</param>
 /// <param name="forumPostRepository">Forum post repository</param>
 /// <param name="forumPrivateMessageRepository">Private message repository</param>
 /// <param name="forumSubscriptionRepository">Forum subscription repository</param>
 /// <param name="forumSettings">Forum settings</param>
 /// <param name="customerRepository">Customer repository</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="workContext">Work context</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="eventPublisher">Event published</param>
 public ForumService(ICacheManager cacheManager,
     IRepository<ForumGroup> forumGroupRepository,
     IRepository<Forum> forumRepository,
     IRepository<ForumTopic> forumTopicRepository,
     IRepository<ForumPost> forumPostRepository,
     IRepository<PrivateMessage> forumPrivateMessageRepository,
     IRepository<ForumSubscription> forumSubscriptionRepository,
     ForumSettings forumSettings,
     IRepository<Customer> customerRepository,
     IGenericAttributeService genericAttributeService,
     ICustomerService customerService,
     IWorkContext workContext,
     IWorkflowMessageService workflowMessageService,
     IEventPublisher eventPublisher
     )
 {
     this._cacheManager = cacheManager;
     this._forumGroupRepository = forumGroupRepository;
     this._forumRepository = forumRepository;
     this._forumTopicRepository = forumTopicRepository;
     this._forumPostRepository = forumPostRepository;
     this._forumPrivateMessageRepository = forumPrivateMessageRepository;
     this._forumSubscriptionRepository = forumSubscriptionRepository;
     this._forumSettings = forumSettings;
     this._customerRepository = customerRepository;
     this._genericAttributeService = genericAttributeService;
     this._customerService = customerService;
     this._workContext = workContext;
     this._workflowMessageService = workflowMessageService;
     _eventPublisher = eventPublisher;
 }
 public AjaxController(IZipCodeService zipCodeService, IWorkflowMessageService workflowMessageService
     , IServiceRequestService serviceRequestService)
 {
     this._zipCodeService = zipCodeService;
     this._workflowMessageService = workflowMessageService;
     this._serviceRequestService = serviceRequestService;
 }
Esempio n. 8
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;
 }
Esempio n. 9
0
        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;
        }
Esempio n. 10
0
        public ForumService(ICacheManager cacheManager,
            IRepository<ForumGroup> forumGroupRepository,
            IRepository<Forum> forumRepository,
            IRepository<ForumTopic> forumTopicRepository,
            IRepository<ForumPost> forumPostRepository,
            IRepository<PrivateMessage> forumPrivateMessageRepository,
            IRepository<ForumSubscription> forumSubscriptionRepository,
            ForumSettings forumSettings,
            IRepository<Customer> customerRepository,
            IGenericAttributeService genericAttributeService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
			IRepository<StoreMapping> storeMappingRepository,
			ICommonServices services)
        {
            _cacheManager = cacheManager;
            _forumGroupRepository = forumGroupRepository;
            _forumRepository = forumRepository;
            _forumTopicRepository = forumTopicRepository;
            _forumPostRepository = forumPostRepository;
            _forumPrivateMessageRepository = forumPrivateMessageRepository;
            _forumSubscriptionRepository = forumSubscriptionRepository;
            _forumSettings = forumSettings;
            _customerRepository = customerRepository;
            _genericAttributeService = genericAttributeService;
            _customerService = customerService;
            _workflowMessageService = workflowMessageService;
            _storeMappingRepository = storeMappingRepository;
            _services = services;
        }
Esempio n. 11
0
        public ProductController(
			ICommonServices services,
			IManufacturerService manufacturerService,
			IProductService productService,
			IProductAttributeService productAttributeService,
			IProductAttributeParser productAttributeParser,
			ITaxService taxService,
			ICurrencyService currencyService,
			IPictureService pictureService,
			IPriceCalculationService priceCalculationService, 
			IPriceFormatter priceFormatter,
			ICustomerContentService customerContentService, 
			ICustomerService customerService,
			IShoppingCartService shoppingCartService,
			IRecentlyViewedProductsService recentlyViewedProductsService, 
			IWorkflowMessageService workflowMessageService, 
			IProductTagService productTagService,
			IOrderReportService orderReportService,
			IBackInStockSubscriptionService backInStockSubscriptionService, 
			IAclService aclService,
			IStoreMappingService storeMappingService,
			MediaSettings mediaSettings, 
			CatalogSettings catalogSettings,
			ShoppingCartSettings shoppingCartSettings,
			LocalizationSettings localizationSettings, 
			CaptchaSettings captchaSettings,
			CatalogHelper helper,
            IDownloadService downloadService,
            ILocalizationService localizationService)
        {
            this._services = services;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._customerContentService = customerContentService;
            this._customerService = customerService;
            this._shoppingCartService = shoppingCartService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._workflowMessageService = workflowMessageService;
            this._productTagService = productTagService;
            this._orderReportService = orderReportService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._aclService = aclService;
            this._storeMappingService = storeMappingService;
            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
            this._helper = helper;
            this._downloadService = downloadService;
            this._localizationService = localizationService;
        }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="backInStockSubscriptionRepository">Back in stock subscription repository</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="eventPublisher">Event publisher</param>
 public BackInStockSubscriptionService(IRepository<BackInStockSubscription> backInStockSubscriptionRepository,
     IWorkflowMessageService workflowMessageService,
     IEventPublisher eventPublisher)
 {
     this._backInStockSubscriptionRepository = backInStockSubscriptionRepository;
     this._workflowMessageService = workflowMessageService;
     this._eventPublisher = eventPublisher;
 }
 public CommonController(ICustomerService customerService, IWorkContext workContext, 
     IAuthenticationService authenticationService,
     IWorkflowMessageService workflowMessageService)
 {
     this._customerService = customerService;
     this._workContext = workContext;
     this._authenticationService = authenticationService;
     this._workflowMessageService = workflowMessageService;
 }
Esempio n. 14
0
 public SecurityController(IAuthenticationService authenticationService, 
     IUserRegistrationService userRegistrationService, IGenericAttributeService attributeService,
     IWorkContext workContext, IUserService userService, IWorkflowMessageService messageService)
 {
     this.authenticationService   = authenticationService;
     this.workContext             = workContext;
     this.messageService          = messageService;
     this.attributeService        = attributeService;
     this.userRegistrationService = userRegistrationService;
     this.userService             = userService;
 }
 public ReturnRequestController(IReturnRequestService returnRequestService, 
     IOrderService orderService,
     ICustomerService customerService, IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService, IWorkContext workContext,
     IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings,
     ICustomerActivityService customerActivityService, IPermissionService permissionService)
     : base(returnRequestService, orderService, customerService, 
           dateTimeHelper, localizationService, 
           workContext, workflowMessageService, 
           localizationSettings, customerActivityService, permissionService)
 {  }
Esempio n. 16
0
 public MtProductService(ICacheManager cacheManager,
     IRepository<Product> productRepository,
     IRepository<RelatedProduct> relatedProductRepository,
     IRepository<CrossSellProduct> crossSellProductRepository,
     IRepository<TierPrice> tierPriceRepository,
     IRepository<ProductPicture> productPictureRepository,
     IRepository<LocalizedProperty> localizedPropertyRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IRepository<ProductSpecificationAttribute> productSpecificationAttributeRepository,
     IRepository<ProductReview> productReviewRepository,
     IRepository<ProductWarehouseInventory> productWarehouseInventoryRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider,
     IDbContext dbContext,
     IWorkContext workContext,
     IStoreContext storeContext,
     LocalizationSettings localizationSettings,
     CommonSettings commonSettings,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     IAclService aclService,
     IStoreMappingService storeMappingService)
 {
     this._cacheManager = cacheManager;
     this._productRepository = productRepository;
     this._relatedProductRepository = relatedProductRepository;
     this._crossSellProductRepository = crossSellProductRepository;
     this._tierPriceRepository = tierPriceRepository;
     this._productPictureRepository = productPictureRepository;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._productSpecificationAttributeRepository = productSpecificationAttributeRepository;
     this._productReviewRepository = productReviewRepository;
     this._productWarehouseInventoryRepository = productWarehouseInventoryRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
 }
Esempio n. 17
0
 public HomeController(IUnderConstructionService underConstructionService,
    IProductService productService, IProductCategoryService productCategoryService, IBrochureService brochureService, IContactUsService contactUsService,
     IWorkflowMessageService workflowMessageService)
 {
     _underConstructionService = underConstructionService;
     _productService = productService;
     _productCategoryService = productCategoryService;
     _brochureService = brochureService;
     _contactUsService = contactUsService;
     _workflowMessageService = workflowMessageService;
 }
Esempio n. 18
0
        public NewsletterController(ILocalizationService localizationService,
            IWorkContext workContext, INewsLetterSubscriptionService newsLetterSubscriptionService,
            IWorkflowMessageService workflowMessageService, CustomerSettings customerSettings)
        {
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._newsLetterSubscriptionService = newsLetterSubscriptionService;
            this._workflowMessageService = workflowMessageService;

            this._customerSettings = customerSettings;
        }
Esempio n. 19
0
 public ProductsController(IProductService productService, IProductCategoryService productCategoryService,
     IBrochureService brochureService, IWorkflowMessageService workflowMessageService,
     IRequestQuoteService requestAQuoteService, IRepairApptService repairApptService, IProductReviewService productReviewService)
 {
     _productService = productService;
     _productCategoryService = productCategoryService;
     _brochureService = brochureService;
     _workflowMessageService = workflowMessageService;
     _requestAQuoteService = requestAQuoteService;
     _repairApptService = repairApptService;
     _productReviewService = productReviewService;
 }
        public NewsletterController(
            IWorkContext workContext,
			INewsLetterSubscriptionService newsLetterSubscriptionService,
            IWorkflowMessageService workflowMessageService,
			CustomerSettings customerSettings,
			IStoreContext storeContext)
        {
            this._workContext = workContext;
            this._newsLetterSubscriptionService = newsLetterSubscriptionService;
            this._workflowMessageService = workflowMessageService;
            this._customerSettings = customerSettings;
            this._storeContext = storeContext;
        }
 public AccountController(ICustomerService customerService, IWorkContext workContext, HttpContextBase httpContext, IAuthenticationService authenticationService, IWebHelper webHelper
     , IAddressService addressService
     , IWorkflowMessageService workflowMessageService
     , IZipCodeService zipCodeService)
 {
     this._customerService = customerService;
     this._workContext = workContext;
     this._authenticationService = authenticationService;
     this._webHelper = webHelper;
     this._httpContext = httpContext;
     this._addressService = addressService;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService = zipCodeService;
 }
        public GutterOrderController(IWorkContext workContext, ICustomerService customerService, IOrderService orderService,
            IQuestionAnswerEntityData questionAnswerEntityDataService, IZipCodeService zipCodeService,
            IWorkflowMessageService workflowMessageService,
            IDateTimeHelper dateTimeHelper,
            IDbContext dbContext)
        {
            this._customerService = customerService;
            this._workContext = workContext;
            this._orderService = orderService;
            this._questionAnswerEntityDataService = questionAnswerEntityDataService;
            this._zipCodeService = zipCodeService;

            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper = dateTimeHelper;
            this._dbContext = dbContext;
        }
 public ReturnRequestController(IOrderService orderService,
     ICustomerService customerService, IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService, IWorkContext workContext,
     IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings,
     ICustomerActivityService customerActivityService, IPermissionService permissionService)
 {
     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;
 }
Esempio n. 24
0
 public UserController(IUserService userService, ILocalizationService localizationService,
     IEncryptionService encryptionService, IUserRegistrationService registrationService,
     IWorkflowMessageService messageService, IGenericAttributeService attributeService,
     IWorkContext workContext, ICacheManager cacheManager, 
     IUserActivityService userActivityService, IBranchOfficeService officeService)
 {
     this.localizationService  = localizationService;
     this.cacheManager         = cacheManager;
     this.userActivityService  = userActivityService;
     this.encryptionService    = encryptionService;
     this.officeService        = officeService;
     this.registrationService  = registrationService;
     this.attributeService     = attributeService;
     this.messageService       = messageService;
     this.userService          = userService;
     this.workContext          = workContext;
 }
 public OrderRecurringPayment(
     IOrderService orderService,
     IPaymentService paymentService,
     ILogger logger,
     ICustomerService customerService,
     IWorkflowMessageService workflowMessageService,
     IServiceProvider serviceProvider,
     LocalizationSettings localizationSettings)
 {
     _orderService           = orderService;
     _paymentService         = paymentService;
     _logger                 = logger;
     _customerService        = customerService;
     _workflowMessageService = workflowMessageService;
     _serviceProvider        = serviceProvider;
     _localizationSettings   = localizationSettings;
 }
 public DeleteAccountCommandHandler(
     ICustomerService customerService,
     IWorkflowMessageService workflowMessageService,
     IQueuedEmailService queuedEmailService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     ICustomerActivityService customerActivityService,
     ILocalizationService localizationService,
     LocalizationSettings localizationSettings)
 {
     _customerService               = customerService;
     _workflowMessageService        = workflowMessageService;
     _queuedEmailService            = queuedEmailService;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _customerActivityService       = customerActivityService;
     _localizationService           = localizationService;
     _localizationSettings          = localizationSettings;
 }
 public OrderStatusCommandHandler(
     IOrderService orderService,
     IPdfService pdfService,
     IWorkflowMessageService workflowMessageService,
     IVendorService vendorService,
     IMediator mediator,
     OrderSettings orderSettings,
     RewardPointsSettings rewardPointsSettings)
 {
     _orderService           = orderService;
     _pdfService             = pdfService;
     _workflowMessageService = workflowMessageService;
     _vendorService          = vendorService;
     _mediator             = mediator;
     _orderSettings        = orderSettings;
     _rewardPointsSettings = rewardPointsSettings;
 }
Esempio n. 28
0
 public CustomerActionEventService(IRepository <CustomerAction> customerActionRepository,
                                   IRepository <CustomerActionType> customerActionTypeRepository,
                                   IRepository <CustomerActionHistory> customerActionHistoryRepository,
                                   IRepository <Banner> bannerRepository,
                                   IRepository <InteractiveForm> interactiveFormRepository,
                                   IRepository <PopupActive> popupActiveRepository,
                                   IRepository <ActivityLog> activityLogRepository,
                                   IRepository <ActivityLogType> activityLogTypeRepository,
                                   IEventPublisher eventPublisher,
                                   IProductService productService,
                                   IProductAttributeParser productAttributeParser,
                                   IMessageTemplateService messageTemplateService,
                                   IWorkflowMessageService workflowMessageService,
                                   IWorkContext workContext,
                                   ICustomerService customerService,
                                   ICustomerAttributeService customerAttributeService,
                                   ICustomerAttributeParser customerAttributeParser,
                                   ICustomerTagService customerTagService,
                                   IHttpContextAccessor httpContextAccessor,
                                   ICacheManager cacheManager,
                                   IPopupService popupService,
                                   IStoreContext storeContext)
 {
     this._customerActionRepository        = customerActionRepository;
     this._customerActionTypeRepository    = customerActionTypeRepository;
     this._customerActionHistoryRepository = customerActionHistoryRepository;
     this._bannerRepository          = bannerRepository;
     this._interactiveFormRepository = interactiveFormRepository;
     this._popupActiveRepository     = popupActiveRepository;
     this._activityLogRepository     = activityLogRepository;
     this._activityLogTypeRepository = activityLogTypeRepository;
     this._eventPublisher            = eventPublisher;
     this._productService            = productService;
     this._productAttributeParser    = productAttributeParser;
     this._messageTemplateService    = messageTemplateService;
     this._workflowMessageService    = workflowMessageService;
     this._workContext              = workContext;
     this._customerService          = customerService;
     this._customerAttributeService = customerAttributeService;
     this._customerAttributeParser  = customerAttributeParser;
     this._customerTagService       = customerTagService;
     this._httpContextAccessor      = httpContextAccessor;
     this._cacheManager             = cacheManager;
     this._popupService             = popupService;
     this._storeContext             = storeContext;
 }
Esempio n. 29
0
 public CommonController(
     IEmailAccountService emailAccountService,
     EmailAccountSettings emailAccountSettings,
     IHostingEnvironment hostingEnvironment,
     IQueuedEmailService queuedEmailService,
     ICommonModelFactory commonModelFactory,
     ILanguageService languageService,
     ICurrencyService currencyService,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     IThemeContext themeContext,
     IGenericAttributeService genericAttributeService,
     ICustomerActivityService customerActivityService,
     IVendorService vendorService,
     IWorkflowMessageService workflowMessageService,
     ILogger logger,
     StoreInformationSettings storeInformationSettings,
     CommonSettings commonSettings,
     LocalizationSettings localizationSettings,
     CaptchaSettings captchaSettings,
     VendorSettings vendorSettings)
 {
     this._emailAccountService     = emailAccountService;
     this._emailAccountSettings    = emailAccountSettings;
     this._hostingEnvironment      = hostingEnvironment;
     this._queuedEmailService      = queuedEmailService;
     this._commonModelFactory      = commonModelFactory;
     this._languageService         = languageService;
     this._currencyService         = currencyService;
     this._localizationService     = localizationService;
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._themeContext            = themeContext;
     this._genericAttributeService = genericAttributeService;
     this._customerActivityService = customerActivityService;
     this._vendorService           = vendorService;
     this._workflowMessageService  = workflowMessageService;
     this._logger = logger;
     this._storeInformationSettings = storeInformationSettings;
     this._commonSettings           = commonSettings;
     this._localizationSettings     = localizationSettings;
     this._captchaSettings          = captchaSettings;
     this._vendorSettings           = vendorSettings;
 }
Esempio n. 30
0
        public virtual async Task <IActionResult> EmailWishlistSend(WishlistEmailAFriendModel model, bool captchaValid,
                                                                    [FromServices] IWorkflowMessageService workflowMessageService,
                                                                    [FromServices] CaptchaSettings captchaSettings)
        {
            if (!await _permissionService.Authorize(StandardPermissionProvider.EnableWishlist) || !_shoppingCartSettings.EmailWishlistEnabled)
            {
                return(RedirectToRoute("HomePage"));
            }

            var cart = _shoppingCartService.GetShoppingCart(_storeContext.CurrentStore.Id, ShoppingCartType.Wishlist);

            if (!cart.Any())
            {
                return(RedirectToRoute("HomePage"));
            }

            //validate CAPTCHA
            if (captchaSettings.Enabled && captchaSettings.ShowOnEmailWishlistToFriendPage && !captchaValid)
            {
                ModelState.AddModelError("", captchaSettings.GetWrongCaptchaMessage(_localizationService));
            }

            //check whether the current customer is guest and ia allowed to email wishlist
            if (_workContext.CurrentCustomer.IsGuest() && !_shoppingCartSettings.AllowAnonymousUsersToEmailWishlist)
            {
                ModelState.AddModelError("", _localizationService.GetResource("Wishlist.EmailAFriend.OnlyRegisteredUsers"));
            }

            if (ModelState.IsValid)
            {
                //email
                await workflowMessageService.SendWishlistEmailAFriendMessage(_workContext.CurrentCustomer,
                                                                             _workContext.WorkingLanguage.Id, model.YourEmailAddress,
                                                                             model.FriendEmail, Core.Html.HtmlHelper.FormatText(model.PersonalMessage, false, true, false, false, false, false));

                model.SuccessfullySent = true;
                model.Result           = _localizationService.GetResource("Wishlist.EmailAFriend.SuccessfullySent");

                return(View(model));
            }

            //If we got this far, something failed, redisplay form
            model.DisplayCaptcha = captchaSettings.Enabled && captchaSettings.ShowOnEmailWishlistToFriendPage;
            return(View(model));
        }
Esempio n. 31
0
 public ExternalAuthorizer(IAuthenticationService authenticationService,
                           IOpenAuthenticationService openAuthenticationService,
                           ICustomerService customerService, IWorkContext workContext,
                           CustomerSettings customerSettings,
                           ExternalAuthenticationSettings externalAuthenticationSettings,
                           IShoppingCartService shoppingCartService,
                           IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings)
 {
     this._authenticationService     = authenticationService;
     this._openAuthenticationService = openAuthenticationService;
     this._customerService           = customerService;
     this._workContext      = workContext;
     this._customerSettings = customerSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._shoppingCartService            = shoppingCartService;
     this._workflowMessageService         = workflowMessageService;
     this._localizationSettings           = localizationSettings;
 }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (contractorRepository != null)
                {
                    contractorRepository.Dispose();
                    contractorRepository = null;
                }

                if (workflowMessageService != null)
                {
                    workflowMessageService.Dispose();
                    workflowMessageService = null;
                }
            }
            base.Dispose(disposing);
        }
Esempio n. 33
0
 public ExternalAuthorizer(IAuthenticationService authenticationService,
     IOpenAuthenticationService openAuthenticationService,
     ICustomerService customerService, IWorkContext workContext,
     CustomerSettings customerSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     IShoppingCartService shoppingCartService,
     IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings)
 {
     this._authenticationService = authenticationService;
     this._openAuthenticationService = openAuthenticationService;
     this._customerService = customerService;
     this._workContext = workContext;
     this._customerSettings = customerSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._shoppingCartService = shoppingCartService;
     this._workflowMessageService = workflowMessageService;
     this._localizationSettings = localizationSettings;
 }
Esempio n. 34
0
 public NewsletterController(INewsletterModelFactory newsletterModelFactory,
                             ILocalizationService localizationService,
                             IWorkContext workContext,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IWorkflowMessageService workflowMessageService,
                             IStoreContext storeContext,
                             CustomerSettings customerSettings,
                             IEmailSender emailSender)
 {
     this._newsletterModelFactory        = newsletterModelFactory;
     this._localizationService           = localizationService;
     this._workContext                   = workContext;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._workflowMessageService        = workflowMessageService;
     this._storeContext                  = storeContext;
     this._customerSettings              = customerSettings;
     this._emailSender                   = emailSender;
 }
Esempio n. 35
0
 public AccountController(IAccountRegistrationService accountRegistrationService,
     IAccountService accountService,
     IAuthenticationService authenticationService,
     IGenericAttributeService genericAttributeService,
     ICurrentActivity currentActivity,
     IWorkflowMessageService workflowMessageService,
     AccountSettings accountSettings,
     ILocalizationService localizationService)
 {
     _accountRegistrationService = accountRegistrationService;
     _accountService = accountService;
     _authenticationService = authenticationService;
     _currentActivity = currentActivity;
     _genericAttributeService = genericAttributeService;
     _workflowMessageService = workflowMessageService;
     _accountSettings = accountSettings;
     _localizationService = localizationService;
 }
Esempio n. 36
0
 public GiftCardController(IGiftCardService giftCardService,
     IPriceFormatter priceFormatter, IWorkflowMessageService workflowMessageService,
     IDateTimeHelper dateTimeHelper, LocalizationSettings localizationSettings,
     ICurrencyService currencyService, CurrencySettings currencySettings,
     ILocalizationService localizationService, ICustomerActivityService customerActivityService,
     IPermissionService permissionService)
 {
     this._giftCardService = giftCardService;
     this._priceFormatter = priceFormatter;
     this._workflowMessageService = workflowMessageService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationSettings = localizationSettings;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._localizationService = localizationService;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
 }
 public CustomNewsletterController(ILocalizationService localizationService,
                                   IWorkContext workContext,
                                   INewsLetterSubscriptionService newsLetterSubscriptionService,
                                   IWorkflowMessageService workflowMessageService,
                                   IStoreContext storeContext,
                                   CustomerSettings customerSettings,
                                   ILogger logger,
                                   IFreshAddressService freshAddressService)
 {
     _localizationService           = localizationService;
     _workContext                   = workContext;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _workflowMessageService        = workflowMessageService;
     _storeContext                  = storeContext;
     _customerSettings              = customerSettings;
     _logger = logger;
     _freshAddressService = freshAddressService;
 }
 public CustomerRequirementsController(IContractorRepository contractorRepo,
                                       IContractRepository contractRepo,
                                       IPeriodRepository periodRepo,
                                       IRequirementRepository requirementRepo,
                                       IPresentationRepository presentationRepo,
                                       IPresentationServices presentationServ,
                                       IDocumentFileService documentFileServ,
                                       IWorkflowMessageService workflowMessageServ)
 {
     contractorRepository   = contractorRepo;
     contractRepository     = contractRepo;
     periodRepository       = periodRepo;
     requirementRepository  = requirementRepo;
     presentationRepository = presentationRepo;
     presentationServices   = presentationServ;
     documentFileService    = documentFileServ;
     workflowMessageService = workflowMessageServ;
 }
Esempio n. 39
0
 public GiftCardController(
     IPriceFormatter priceFormatter, IWorkflowMessageService workflowMessageService,
     IDateTimeHelper dateTimeHelper, LocalizationSettings localizationSettings,
     ICurrencyService currencyService, CurrencySettings currencySettings,
     ILocalizationService localizationService, ILanguageService languageService,
     ICustomerActivityService customerActivityService, IPermissionService permissionService)
 {
     this._priceFormatter          = priceFormatter;
     this._workflowMessageService  = workflowMessageService;
     this._dateTimeHelper          = dateTimeHelper;
     this._localizationSettings    = localizationSettings;
     this._currencyService         = currencyService;
     this._currencySettings        = currencySettings;
     this._localizationService     = localizationService;
     this._languageService         = languageService;
     this._customerActivityService = customerActivityService;
     this._permissionService       = permissionService;
 }
Esempio n. 40
0
 public CustomerRegistrationService(CustomerSettings customerSettings,
                                    ICustomerService customerService,
                                    IEncryptionService encryptionService,
                                    IEventPublisher eventPublisher,
                                    IGenericAttributeService genericAttributeService,
                                    ILocalizationService localizationService,
                                    IWorkContext workContext,
                                    IWorkflowMessageService workflowMessageService)
 {
     _customerSettings        = customerSettings;
     _customerService         = customerService;
     _encryptionService       = encryptionService;
     _eventPublisher          = eventPublisher;
     _genericAttributeService = genericAttributeService;
     _localizationService     = localizationService;
     _workContext             = workContext;
     _workflowMessageService  = workflowMessageService;
 }
Esempio n. 41
0
        public GiftCardController(IGiftCardService giftCardService,
            IPriceFormatter priceFormatter,
			IWorkflowMessageService workflowMessageService,
            IDateTimeHelper dateTimeHelper,
			LocalizationSettings localizationSettings,
            ILanguageService languageService,
            ICustomerActivityService customerActivityService,
			ICommonServices services)
        {
            this._giftCardService = giftCardService;
            this._priceFormatter = priceFormatter;
            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper = dateTimeHelper;
            this._localizationSettings = localizationSettings;
            this._languageService = languageService;
            this._customerActivityService = customerActivityService;
            this._services = services;
        }
Esempio n. 42
0
 public ArticleController(IArticleModelFactory articleModelFactory,
                          IArticleService articleService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IRecentlyViewedArticlesService recentlyViewedArticlesService,
                          ICompareArticlesService compareArticlesService,
                          IWorkflowMessageService workflowMessageService,
                          ISubscriptionReportService subscriptionReportService,
                          ISubscriptionService subscriptionService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          IEventPublisher eventPublisher,
                          CatalogSettings catalogSettings,
                          ShoppingCartSettings shoppingCartSettings,
                          LocalizationSettings localizationSettings,
                          CaptchaSettings captchaSettings,
                          ICacheManager cacheManager)
 {
     this._articleModelFactory           = articleModelFactory;
     this._articleService                = articleService;
     this._workContext                   = workContext;
     this._storeContext                  = storeContext;
     this._localizationService           = localizationService;
     this._webHelper                     = webHelper;
     this._recentlyViewedArticlesService = recentlyViewedArticlesService;
     this._compareArticlesService        = compareArticlesService;
     this._workflowMessageService        = workflowMessageService;
     this._subscriptionReportService     = subscriptionReportService;
     this._subscriptionService           = subscriptionService;
     this._aclService                    = aclService;
     this._storeMappingService           = storeMappingService;
     this._permissionService             = permissionService;
     this._customerActivityService       = customerActivityService;
     this._eventPublisher                = eventPublisher;
     this._catalogSettings               = catalogSettings;
     this._shoppingCartSettings          = shoppingCartSettings;
     this._localizationSettings          = localizationSettings;
     this._captchaSettings               = captchaSettings;
     this._cacheManager                  = cacheManager;
 }
Esempio n. 43
0
 public ProductController(IProductModelFactory productModelFactory,
                          IProductService productService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IRecentlyViewedProductsService recentlyViewedProductsService,
                          ICompareProductsService compareProductsService,
                          IWorkflowMessageService workflowMessageService,
                          IOrderReportService orderReportService,
                          IOrderService orderService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          IEventPublisher eventPublisher,
                          CatalogSettings catalogSettings,
                          ShoppingCartSettings shoppingCartSettings,
                          LocalizationSettings localizationSettings,
                          CaptchaSettings captchaSettings,
                          ICacheManager cacheManager)
 {
     this._productModelFactory           = productModelFactory;
     this._productService                = productService;
     this._workContext                   = workContext;
     this._storeContext                  = storeContext;
     this._localizationService           = localizationService;
     this._webHelper                     = webHelper;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService        = compareProductsService;
     this._workflowMessageService        = workflowMessageService;
     this._orderReportService            = orderReportService;
     this._orderService                  = orderService;
     this._aclService                    = aclService;
     this._storeMappingService           = storeMappingService;
     this._permissionService             = permissionService;
     this._customerActivityService       = customerActivityService;
     this._eventPublisher                = eventPublisher;
     this._catalogSettings               = catalogSettings;
     this._shoppingCartSettings          = shoppingCartSettings;
     this._localizationSettings          = localizationSettings;
     this._captchaSettings               = captchaSettings;
     this._cacheManager                  = cacheManager;
 }
Esempio n. 44
0
 public ProductController(CaptchaSettings captchaSettings,
                          CatalogSettings catalogSettings,
                          IAclService aclService,
                          ICompareProductsService compareProductsService,
                          ICustomerActivityService customerActivityService,
                          IEventPublisher eventPublisher,
                          ILocalizationService localizationService,
                          IOrderService orderService,
                          IPermissionService permissionService,
                          IProductModelFactory productModelFactory,
                          IProductService productService,
                          IRecentlyViewedProductsService recentlyViewedProductsService,
                          IShoppingCartService shoppingCartService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IUrlRecordService urlRecordService,
                          IWebHelper webHelper,
                          IWorkContext workContext,
                          IWorkflowMessageService workflowMessageService,
                          LocalizationSettings localizationSettings,
                          ShoppingCartSettings shoppingCartSettings)
 {
     _captchaSettings               = captchaSettings;
     _catalogSettings               = catalogSettings;
     _aclService                    = aclService;
     _compareProductsService        = compareProductsService;
     _customerActivityService       = customerActivityService;
     _eventPublisher                = eventPublisher;
     _localizationService           = localizationService;
     _orderService                  = orderService;
     _permissionService             = permissionService;
     _productModelFactory           = productModelFactory;
     _productService                = productService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService           = shoppingCartService;
     _storeContext                  = storeContext;
     _storeMappingService           = storeMappingService;
     _urlRecordService              = urlRecordService;
     _webHelper              = webHelper;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings   = localizationSettings;
     _shoppingCartSettings   = shoppingCartSettings;
 }
Esempio n. 45
0
        public CommonController(ICommonModelFactory commonModelFactory,
                                ILanguageService languageService,
                                ICurrencyService currencyService,
                                ILocalizationService localizationService,
                                IWorkContext workContext,
                                IStoreContext storeContext,
                                IQueuedEmailService queuedEmailService,
                                IEmailAccountService emailAccountService,
                                IThemeContext themeContext,
                                IGenericAttributeService genericAttributeService,
                                ICustomerActivityService customerActivityService,
                                IContributorService contributorService,
                                IWorkflowMessageService workflowMessageService,
                                TaxSettings taxSettings,
                                StoreInformationSettings storeInformationSettings,
                                EmailAccountSettings emailAccountSettings,
                                CommonSettings commonSettings,
                                LocalizationSettings localizationSettings,
                                CaptchaSettings captchaSettings,
                                ContributorSettings contributorSettings)
        {
            this._commonModelFactory      = commonModelFactory;
            this._languageService         = languageService;
            this._currencyService         = currencyService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._queuedEmailService      = queuedEmailService;
            this._emailAccountService     = emailAccountService;
            this._themeContext            = themeContext;
            this._genericAttributeService = genericAttributeService;
            this._customerActivityService = customerActivityService;
            this._contributorService      = contributorService;
            this._workflowMessageService  = workflowMessageService;

            this._taxSettings = taxSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings     = emailAccountSettings;
            this._commonSettings           = commonSettings;
            this._localizationSettings     = localizationSettings;
            this._captchaSettings          = captchaSettings;
            this._contributorSettings      = contributorSettings;
        }
        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;
        }
Esempio n. 47
0
 public HomeController(IDbContext context, IAuthenticationService authenticationService, IWorkContext workContext, ICustomerService customerService,
     IQuestionAnswerEntityData questionAnswerEntityDataService, HttpContextBase httpContext,
     IPaymentMethod paymentMethod, IOrderService orderService, IWebHelper webHelper,
     IWorkflowMessageService workflowMessageService, IZipCodeService zipCodeService,
     IDbContext dbContext)
 {
     this._context = context;
     this._authenticationService = authenticationService;
     this._customerService = customerService;
     this._workContext = workContext;
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._httpContext = httpContext;
     this._paymentMethod = paymentMethod;
     this._orderService = orderService;
     this._webHelper = webHelper;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService = zipCodeService;
     this._dbContext = dbContext;
 }
Esempio n. 48
0
 public HomeController(IDbContext context, IAuthenticationService authenticationService, IWorkContext workContext, ICustomerService customerService,
                       IQuestionAnswerEntityData questionAnswerEntityDataService, HttpContextBase httpContext,
                       IPaymentMethod paymentMethod, IOrderService orderService, IWebHelper webHelper,
                       IWorkflowMessageService workflowMessageService, IZipCodeService zipCodeService,
                       IDbContext dbContext)
 {
     this._context = context;
     this._authenticationService           = authenticationService;
     this._customerService                 = customerService;
     this._workContext                     = workContext;
     this._questionAnswerEntityDataService = questionAnswerEntityDataService;
     this._httpContext                     = httpContext;
     this._paymentMethod                   = paymentMethod;
     this._orderService                    = orderService;
     this._webHelper = webHelper;
     this._workflowMessageService = workflowMessageService;
     this._zipCodeService         = zipCodeService;
     this._dbContext = dbContext;
 }
 public GiftCardViewModelService(
     IGiftCardService giftCardService, IOrderService orderService,
     IPriceFormatter priceFormatter, IWorkflowMessageService workflowMessageService,
     IDateTimeHelper dateTimeHelper,
     ICurrencyService currencyService, CurrencySettings currencySettings,
     ILocalizationService localizationService, ILanguageService languageService,
     ICustomerActivityService customerActivityService)
 {
     _giftCardService         = giftCardService;
     _orderService            = orderService;
     _priceFormatter          = priceFormatter;
     _workflowMessageService  = workflowMessageService;
     _dateTimeHelper          = dateTimeHelper;
     _currencyService         = currencyService;
     _currencySettings        = currencySettings;
     _localizationService     = localizationService;
     _languageService         = languageService;
     _customerActivityService = customerActivityService;
 }
        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 ReturnRequestController(IOrderService orderService,
                                ICustomerService customerService, IDateTimeHelper dateTimeHelper,
                                ILocalizationService localizationService, IWorkContext workContext,
                                IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings,
                                ICustomerActivityService customerActivityService, IPermissionService permissionService, IShipmentService shipmentService, IRefundOrderService refundOrderService, IRefundOrderItemService refundOrderItemService)
 {
     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;
     this._shipmentService         = shipmentService;
     this._refundOrderService      = refundOrderService;
     this._refundOrderItemService  = refundOrderItemService;
 }
 public CustomerRegistrationService(CustomerSettings customerSettings,
                                    IActionContextAccessor actionContextAccessor,
                                    IAuthenticationService authenticationService,
                                    ICustomerActivityService customerActivityService,
                                    ICustomerService customerService,
                                    IEncryptionService encryptionService,
                                    IEventPublisher eventPublisher,
                                    IGenericAttributeService genericAttributeService,
                                    ILocalizationService localizationService,
                                    IMultiFactorAuthenticationPluginManager multiFactorAuthenticationPluginManager,
                                    INewsLetterSubscriptionService newsLetterSubscriptionService,
                                    INotificationService notificationService,
                                    IRewardPointService rewardPointService,
                                    IShoppingCartService shoppingCartService,
                                    IStoreContext storeContext,
                                    IStoreService storeService,
                                    IUrlHelperFactory urlHelperFactory,
                                    IWorkContext workContext,
                                    IWorkflowMessageService workflowMessageService,
                                    RewardPointsSettings rewardPointsSettings)
 {
     _customerSettings        = customerSettings;
     _actionContextAccessor   = actionContextAccessor;
     _authenticationService   = authenticationService;
     _customerActivityService = customerActivityService;
     _customerService         = customerService;
     _encryptionService       = encryptionService;
     _eventPublisher          = eventPublisher;
     _genericAttributeService = genericAttributeService;
     _localizationService     = localizationService;
     _multiFactorAuthenticationPluginManager = multiFactorAuthenticationPluginManager;
     _newsLetterSubscriptionService          = newsLetterSubscriptionService;
     _notificationService    = notificationService;
     _rewardPointService     = rewardPointService;
     _shoppingCartService    = shoppingCartService;
     _storeContext           = storeContext;
     _storeService           = storeService;
     _urlHelperFactory       = urlHelperFactory;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _rewardPointsSettings   = rewardPointsSettings;
 }
Esempio n. 53
0
 public ProductReviewController(CatalogSettings catalogSettings,
                                ICustomerActivityService customerActivityService,
                                IEventPublisher eventPublisher,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                IProductReviewModelFactory productReviewModelFactory,
                                IProductService productService,
                                IWorkContext workContext,
                                IWorkflowMessageService workflowMessageService)
 {
     this._catalogSettings           = catalogSettings;
     this._customerActivityService   = customerActivityService;
     this._eventPublisher            = eventPublisher;
     this._localizationService       = localizationService;
     this._permissionService         = permissionService;
     this._productReviewModelFactory = productReviewModelFactory;
     this._productService            = productService;
     this._workContext            = workContext;
     this._workflowMessageService = workflowMessageService;
 }
Esempio n. 54
0
 public MessageTemplateController(IMessageTemplateService messageTemplateService,
                                  IEmailAccountService emailAccountService,
                                  ILanguageService languageService,
                                  ILocalizationService localizationService,
                                  IMessageTokenProvider messageTokenProvider,
                                  IStoreService storeService,
                                  IStoreMappingService storeMappingService,
                                  IWorkflowMessageService workflowMessageService,
                                  EmailAccountSettings emailAccountSettings)
 {
     this._messageTemplateService = messageTemplateService;
     this._emailAccountService    = emailAccountService;
     this._languageService        = languageService;
     this._localizationService    = localizationService;
     this._messageTokenProvider   = messageTokenProvider;
     this._storeService           = storeService;
     this._storeMappingService    = storeMappingService;
     this._workflowMessageService = workflowMessageService;
     this._emailAccountSettings   = emailAccountSettings;
 }
Esempio n. 55
0
        public CustomerController(
            IAuthenticationService authenticationService,
            ICustomerService customerService,
            ICustomerRegistrationService customerRegistrationService,
            IGenericAttributeService genericAttributeService,
            IWorkflowMessageService workflowMessageService,
            IWebHelper webHelper,
            IWorkContext workContext,
            CustomerSettings customerSettings)
        {
            _authenticationService       = authenticationService;
            _customerService             = customerService;
            _customerRegistrationService = customerRegistrationService;
            _genericAttributeService     = genericAttributeService;
            _workflowMessageService      = workflowMessageService;

            _webHelper        = webHelper;
            _workContext      = workContext;
            _customerSettings = customerSettings;
        }
Esempio n. 56
0
 public GiftCardController(IGiftCardService giftCardService,
                           IPriceFormatter priceFormatter,
                           IWorkflowMessageService workflowMessageService,
                           IDateTimeHelper dateTimeHelper,
                           LocalizationSettings localizationSettings,
                           ILanguageService languageService,
                           ICustomerActivityService customerActivityService,
                           ICommonServices services,
                           AdminAreaSettings adminAreaSettings)
 {
     this._giftCardService         = giftCardService;
     this._priceFormatter          = priceFormatter;
     this._workflowMessageService  = workflowMessageService;
     this._dateTimeHelper          = dateTimeHelper;
     this._localizationSettings    = localizationSettings;
     this._languageService         = languageService;
     this._customerActivityService = customerActivityService;
     this._services          = services;
     this._adminAreaSettings = adminAreaSettings;
 }
 public ReturnRequestController(ICustomerActivityService customerActivityService,
                                ILocalizationService localizationService,
                                ILocalizedEntityService localizedEntityService,
                                INotificationService notificationService,
                                IOrderService orderService,
                                IPermissionService permissionService,
                                IReturnRequestModelFactory returnRequestModelFactory,
                                IReturnRequestService returnRequestService,
                                IWorkflowMessageService workflowMessageService)
 {
     _customerActivityService   = customerActivityService;
     _localizationService       = localizationService;
     _localizedEntityService    = localizedEntityService;
     _notificationService       = notificationService;
     _orderService              = orderService;
     _permissionService         = permissionService;
     _returnRequestModelFactory = returnRequestModelFactory;
     _returnRequestService      = returnRequestService;
     _workflowMessageService    = workflowMessageService;
 }
Esempio n. 58
0
 public MessageTemplateController(ICustomerActivityService customerActivityService,
                                  ILocalizationService localizationService,
                                  ILocalizedEntityService localizedEntityService,
                                  IMessageTemplateModelFactory messageTemplateModelFactory,
                                  IMessageTemplateService messageTemplateService,
                                  IPermissionService permissionService,
                                  IStoreMappingService storeMappingService,
                                  IStoreService storeService,
                                  IWorkflowMessageService workflowMessageService)
 {
     this._customerActivityService     = customerActivityService;
     this._localizationService         = localizationService;
     this._localizedEntityService      = localizedEntityService;
     this._messageTemplateModelFactory = messageTemplateModelFactory;
     this._messageTemplateService      = messageTemplateService;
     this._permissionService           = permissionService;
     this._storeMappingService         = storeMappingService;
     this._storeService           = storeService;
     this._workflowMessageService = workflowMessageService;
 }
Esempio n. 59
0
 public UserRegistrationService(UserSettings userSettings,
                                IUserService userService,
                                IEncryptionService encryptionService,
                                IEventPublisher eventPublisher,
                                IGenericAttributeService genericAttributeService,
                                ILocalizationService localizationService,
                                INewsLetterSubscriptionService newsLetterSubscriptionService,
                                IWorkContext workContext,
                                IWorkflowMessageService workflowMessageService)
 {
     this._userSettings                  = userSettings;
     this._userService                   = userService;
     this._encryptionService             = encryptionService;
     this._eventPublisher                = eventPublisher;
     this._genericAttributeService       = genericAttributeService;
     this._localizationService           = localizationService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._workContext                   = workContext;
     this._workflowMessageService        = workflowMessageService;
 }
Esempio n. 60
0
 public MessageTemplateController(IMessageTemplateService messageTemplateService,
                                  IEmailAccountService emailAccountService,
                                  ILanguageService languageService,
                                  ILocalizedEntityService localizedEntityService,
                                  ILocalizationService localizationService,
                                  IMessageTokenProvider messageTokenProvider,
                                  IPermissionService permissionService,
                                  IWorkflowMessageService workflowMessageService,
                                  EmailAccountSettings emailAccountSettings)
 {
     _messageTemplateService = messageTemplateService;
     _emailAccountService    = emailAccountService;
     _languageService        = languageService;
     _localizedEntityService = localizedEntityService;
     _localizationService    = localizationService;
     _messageTokenProvider   = messageTokenProvider;
     _permissionService      = permissionService;
     _workflowMessageService = workflowMessageService;
     _emailAccountSettings   = emailAccountSettings;
 }