Exemplo n.º 1
0
 public CommonController(
     ICommonViewModelService commonViewModelService,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IPopupService popupService,
     IContactAttributeService contactAttributeService,
     CommonSettings commonSettings,
     CaptchaSettings captchaSettings,
     VendorSettings vendorSettings
     )
 {
     _commonViewModelService     = commonViewModelService;
     _localizationService        = localizationService;
     _workContext                = workContext;
     _storeContext               = storeContext;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _popupService               = popupService;
     _contactAttributeService    = contactAttributeService;
     _commonSettings             = commonSettings;
     _captchaSettings            = captchaSettings;
     _vendorSettings             = vendorSettings;
 }
Exemplo n.º 2
0
 public ProductController(
     IProductService productService,
     IWorkContext workContext,
     ITranslationService translationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IShoppingCartService shoppingCartService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings
     )
 {
     _productService                = productService;
     _workContext                   = workContext;
     _translationService            = translationService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService           = shoppingCartService;
     _compareProductsService        = compareProductsService;
     _aclService                 = aclService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator             = mediator;
     _catalogSettings      = catalogSettings;
     _shoppingCartSettings = shoppingCartSettings;
     _captchaSettings      = captchaSettings;
 }
Exemplo n.º 3
0
 public CourseController(
     IPermissionService permissionService,
     IAclService aclService,
     IWorkContext workContext,
     IStoreMappingService storeMappingService,
     ICustomerActivityService customerActivityService,
     IGenericAttributeService genericAttributeService,
     IWebHelper webHelper,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     ICustomerActionEventService customerActionEventService,
     ICourseService courseService,
     ICourseLessonService courseLessonService,
     IDownloadService downloadService,
     IMediator mediator,
     CourseSettings courseSettings)
 {
     _permissionService       = permissionService;
     _aclService              = aclService;
     _workContext             = workContext;
     _storeMappingService     = storeMappingService;
     _customerActivityService = customerActivityService;
     _genericAttributeService = genericAttributeService;
     _webHelper                  = webHelper;
     _storeContext               = storeContext;
     _localizationService        = localizationService;
     _customerActionEventService = customerActionEventService;
     _courseService              = courseService;
     _courseLessonService        = courseLessonService;
     _downloadService            = downloadService;
     _mediator       = mediator;
     _courseSettings = courseSettings;
 }
 public CatalogController(ICatalogViewModelService catalogViewModelService,
                          IProductViewModelService productViewModelService,
                          IVendorService vendorService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IGenericAttributeService genericAttributeService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          ICustomerActionEventService customerActionEventService,
                          IVendorViewModelService vendorViewModelService,
                          VendorSettings vendorSettings)
 {
     this._catalogViewModelService = catalogViewModelService;
     this._productViewModelService = productViewModelService;
     this._vendorService           = vendorService;
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._localizationService     = localizationService;
     this._webHelper = webHelper;
     this._genericAttributeService = genericAttributeService;
     this._aclService                 = aclService;
     this._storeMappingService        = storeMappingService;
     this._permissionService          = permissionService;
     this._customerActivityService    = customerActivityService;
     this._customerActionEventService = customerActionEventService;
     this._vendorViewModelService     = vendorViewModelService;
     this._vendorSettings             = vendorSettings;
 }
Exemplo n.º 5
0
 public ProductController(
     IProductService productService,
     IProductViewModelService productViewModelService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings
     )
 {
     this._productService                = productService;
     this._productViewModelService       = productViewModelService;
     this._workContext                   = workContext;
     this._storeContext                  = storeContext;
     this._localizationService           = localizationService;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService        = compareProductsService;
     this._aclService                 = aclService;
     this._storeMappingService        = storeMappingService;
     this._permissionService          = permissionService;
     this._customerActivityService    = customerActivityService;
     this._customerActionEventService = customerActionEventService;
     this._catalogSettings            = catalogSettings;
     this._shoppingCartSettings       = shoppingCartSettings;
     this._captchaSettings            = captchaSettings;
 }
Exemplo n.º 6
0
 public CourseController(
     IPermissionService permissionService,
     IAclService aclService,
     IWorkContext workContext,
     IGroupService groupService,
     ICustomerActivityService customerActivityService,
     IUserFieldService userFieldService,
     ITranslationService translationService,
     ICustomerActionEventService customerActionEventService,
     ICourseService courseService,
     ICourseLessonService courseLessonService,
     IDownloadService downloadService,
     IMediator mediator,
     CourseSettings courseSettings)
 {
     _permissionService          = permissionService;
     _aclService                 = aclService;
     _workContext                = workContext;
     _groupService               = groupService;
     _customerActivityService    = customerActivityService;
     _userFieldService           = userFieldService;
     _translationService         = translationService;
     _customerActionEventService = customerActionEventService;
     _courseService              = courseService;
     _courseLessonService        = courseLessonService;
     _downloadService            = downloadService;
     _mediator       = mediator;
     _courseSettings = courseSettings;
 }
Exemplo n.º 7
0
 public CustomerRegisteredCommandHandler(
     IGenericAttributeService genericAttributeService,
     IVatService checkVatService,
     IWorkflowMessageService workflowMessageService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IAddressService addressService,
     ICustomerService customerService,
     ICustomerActionEventService customerActionEventService,
     DateTimeSettings dateTimeSettings,
     TaxSettings taxSettings,
     CustomerSettings customerSettings,
     LocalizationSettings localizationSettings)
 {
     _genericAttributeService       = genericAttributeService;
     _checkVatService               = checkVatService;
     _workflowMessageService        = workflowMessageService;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _addressService             = addressService;
     _customerService            = customerService;
     _customerActionEventService = customerActionEventService;
     _dateTimeSettings           = dateTimeSettings;
     _taxSettings          = taxSettings;
     _customerSettings     = customerSettings;
     _localizationSettings = localizationSettings;
 }
 public CustomerRegisteredCommandHandler(
     IUserFieldService userFieldService,
     IVatService checkVatService,
     IMessageProviderService messageProviderService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IAddressAttributeService addressAttributeService,
     ICountryService countryService,
     ICustomerService customerService,
     ICustomerActionEventService customerActionEventService,
     TaxSettings taxSettings,
     CustomerSettings customerSettings,
     AddressSettings addressSettings,
     LanguageSettings languageSettings)
 {
     _userFieldService              = userFieldService;
     _checkVatService               = checkVatService;
     _messageProviderService        = messageProviderService;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _addressAttributeService       = addressAttributeService;
     _countryService             = countryService;
     _customerService            = customerService;
     _customerActionEventService = customerActionEventService;
     _taxSettings      = taxSettings;
     _customerSettings = customerSettings;
     _addressSettings  = addressSettings;
     _languageSettings = languageSettings;
 }
Exemplo n.º 9
0
 public CatalogController(
     IVendorService vendorService,
     ICategoryService categoryService,
     IBrandService brandService,
     ICollectionService collectionService,
     IWorkContext workContext,
     IGroupService groupService,
     ITranslationService translationService,
     IUserFieldService userFieldService,
     IAclService aclService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     VendorSettings vendorSettings)
 {
     _vendorService              = vendorService;
     _categoryService            = categoryService;
     _brandService               = brandService;
     _collectionService          = collectionService;
     _workContext                = workContext;
     _groupService               = groupService;
     _translationService         = translationService;
     _userFieldService           = userFieldService;
     _aclService                 = aclService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator       = mediator;
     _vendorSettings = vendorSettings;
 }
Exemplo n.º 10
0
 public CatalogController(
     IVendorService vendorService,
     IManufacturerService manufacturerService,
     ICategoryService categoryService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IWebHelper webHelper,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     VendorSettings vendorSettings)
 {
     _vendorService              = vendorService;
     _manufacturerService        = manufacturerService;
     _categoryService            = categoryService;
     _workContext                = workContext;
     _storeContext               = storeContext;
     _localizationService        = localizationService;
     _webHelper                  = webHelper;
     _genericAttributeService    = genericAttributeService;
     _aclService                 = aclService;
     _storeMappingService        = storeMappingService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator       = mediator;
     _vendorSettings = vendorSettings;
 }
Exemplo n.º 11
0
        public CommonViewComponent(
            ICommonWebService commonWebService,
            ILocalizationService localizationService,
            IWorkContext workContext,
            IStoreContext storeContext,
            ICustomerActivityService customerActivityService,
            ICustomerActionEventService customerActionEventService,
            IPopupService popupService,
            IInteractiveFormService interactiveFormService,

            StoreInformationSettings storeInformationSettings,
            CommonSettings commonSettings,
            ForumSettings forumSettings,
            LocalizationSettings localizationSettings,
            CaptchaSettings captchaSettings,
            VendorSettings vendorSettings
            )
        {
            this._commonWebService           = commonWebService;
            this._localizationService        = localizationService;
            this._workContext                = workContext;
            this._storeContext               = storeContext;
            this._customerActivityService    = customerActivityService;
            this._customerActionEventService = customerActionEventService;
            this._popupService               = popupService;
            this._interactiveFormService     = interactiveFormService;

            this._storeInformationSettings = storeInformationSettings;
            this._commonSettings           = commonSettings;
            this._forumSettings            = forumSettings;
            this._localizationSettings     = localizationSettings;
            this._captchaSettings          = captchaSettings;
            this._vendorSettings           = vendorSettings;
        }
 public SaveLastActivityFilter(ICustomerService customerService,
                               IWorkContext workContext,
                               ICustomerActionEventService customerActionEventService)
 {
     _customerService            = customerService;
     _workContext                = workContext;
     _customerActionEventService = customerActionEventService;
 }
Exemplo n.º 13
0
 public CatalogController(ICatalogWebService catalogWebService,
                          ICategoryService categoryService,
                          IProductWebService productWebService,
                          IManufacturerService manufacturerService,
                          IProductService productService,
                          IVendorService vendorService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IProductTagService productTagService,
                          IGenericAttributeService genericAttributeService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          ICustomerActionEventService customerActionEventService,
                          IVendorWebService vendorWebService,
                          CaptchaSettings captchaSettings,
                          MediaSettings mediaSettings,
                          CatalogSettings catalogSettings,
                          VendorSettings vendorSettings,
                          ICacheManager cacheManager,
                          IEventPublisher eventPublisher,
                          IOrderService orderService)
 {
     this._catalogWebService          = catalogWebService;
     this._categoryService            = categoryService;
     this._productWebService          = productWebService;
     this._manufacturerService        = manufacturerService;
     this._productService             = productService;
     this._vendorService              = vendorService;
     this._workContext                = workContext;
     this._storeContext               = storeContext;
     this._localizationService        = localizationService;
     this._webHelper                  = webHelper;
     this._productTagService          = productTagService;
     this._genericAttributeService    = genericAttributeService;
     this._aclService                 = aclService;
     this._storeMappingService        = storeMappingService;
     this._permissionService          = permissionService;
     this._customerActivityService    = customerActivityService;
     this._customerActionEventService = customerActionEventService;
     this._vendorWebService           = vendorWebService;
     this._captchaSettings            = captchaSettings;
     this._mediaSettings              = mediaSettings;
     this._catalogSettings            = catalogSettings;
     this._vendorSettings             = vendorSettings;
     this._eventPublisher             = eventPublisher;
     this._orderService               = orderService;
 }
Exemplo n.º 14
0
 public CustomerActivityFilter(
     ICustomerService customerService,
     IWorkContext workContext,
     IUserFieldService userFieldService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     CustomerSettings customerSettings)
 {
     _customerService            = customerService;
     _workContext                = workContext;
     _userFieldService           = userFieldService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _customerSettings           = customerSettings;
 }
Exemplo n.º 15
0
 public ProductController(
     IProductService productService,
     IProductWebService productWebService,
     IProductReservationService productReservationService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IWebHelper webHelper,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IOrderReportService orderReportService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IEventPublisher eventPublisher,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CaptchaSettings captchaSettings,
     ICacheManager cacheManager,
     IOrderService orderService
     )
 {
     this._productService            = productService;
     this._productWebService         = productWebService;
     this._productReservationService = productReservationService;
     this._workContext                   = workContext;
     this._storeContext                  = storeContext;
     this._localizationService           = localizationService;
     this._webHelper                     = webHelper;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService        = compareProductsService;
     this._orderReportService            = orderReportService;
     this._aclService                    = aclService;
     this._storeMappingService           = storeMappingService;
     this._permissionService             = permissionService;
     this._customerActivityService       = customerActivityService;
     this._customerActionEventService    = customerActionEventService;
     this._eventPublisher                = eventPublisher;
     this._catalogSettings               = catalogSettings;
     this._shoppingCartSettings          = shoppingCartSettings;
     this._localizationSettings          = localizationSettings;
     this._captchaSettings               = captchaSettings;
     this._cacheManager                  = cacheManager;
     this._orderService                  = orderService;
 }
Exemplo n.º 16
0
 public ProductController(
     IProductService productService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IShoppingCartService shoppingCartService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings, IImportService importService, IRepository <Product> productRepository)
 {
     _productService                = productService;
     _workContext                   = workContext;
     _storeContext                  = storeContext;
     _localizationService           = localizationService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService           = shoppingCartService;
     _compareProductsService        = compareProductsService;
     _aclService                 = aclService;
     _storeMappingService        = storeMappingService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator             = mediator;
     _catalogSettings      = catalogSettings;
     _shoppingCartSettings = shoppingCartSettings;
     _captchaSettings      = captchaSettings;
     _importService        = importService;
     _productRepository    = productRepository;
 }
Exemplo n.º 17
0
 public OrderPlacedEventHandler(ICustomerActionEventService customerActionEventService, IMediator mediator)
 {
     _customerActionEventService = customerActionEventService;
     _mediator = mediator;
 }
Exemplo n.º 18
0
 public OrderPaidEventHandler(ICustomerActionEventService customerActionEventService)
 {
     _customerActionEventService = customerActionEventService;
 }
Exemplo n.º 19
0
        public virtual async Task <IActionResult> CustomerActionEventUrl(string curl, string purl, [FromServices] ICustomerActionEventService customerActionEventService)
        {
            await customerActionEventService.Url(_workContext.CurrentCustomer, curl, purl);

            return(Json(new { empty = "" }));
        }
Exemplo n.º 20
0
 public AddToCartEventHandler(ICustomerActionEventService customerActionEventService)
 {
     _customerActionEventService = customerActionEventService;
 }