public HomeController(IStoreContext storeContext, 
     CommonSettings commonSettings, ISettingService settingService)
 {
     this._storeContext = storeContext;
     this._commonSettings = commonSettings;
     this._settingService = settingService;
 }
Esempio n. 2
0
 public HomeController(StoreInformationSettings storeInformationSettings,
     CommonSettings commonSettings, ISettingService settingService)
 {
     this._storeInformationSettings = storeInformationSettings;
     this._commonSettings = commonSettings;
     this._settingService = settingService;
 }
Esempio n. 3
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 public FulltextService(IDataProvider dataProvider, IDbContext dbContext,
     CommonSettings commonSettings)
 {
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
 }
Esempio n. 4
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="logRepository">Log repository</param>
 /// <param name="webHelper">Web helper</param>>
 /// <param name="dbContext">DB context</param>>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public DefaultLogger(IRepository<Log> logRepository, IWebHelper webHelper,
     IDbContext dbContext, IDataProvider dataProvider, CommonSettings commonSettings)
 {
     this._logRepository = logRepository;
     this._webHelper = webHelper;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
Esempio n. 5
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="queuedEmailRepository">Queued email repository</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="dbContext">DB context</param>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public QueuedEmailService(IRepository<QueuedEmail> queuedEmailRepository,
     IEventPublisher eventPublisher,
     IDataProvider dataProvider, 
     CommonSettings commonSettings)
 {
     _queuedEmailRepository = queuedEmailRepository;
     _eventPublisher = eventPublisher;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
Esempio n. 6
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="customerTagRepository">Customer tag repository</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="eventPublisher">Event published</param>
 public CustomerTagService(IRepository<CustomerTag> customerTagRepository,
     IRepository<Customer> customerRepository,
     CommonSettings commonSettings,
     IEventPublisher eventPublisher
     )
 {
     this._customerTagRepository = customerTagRepository;
     this._commonSettings = commonSettings;
     this._eventPublisher = eventPublisher;
     this._customerRepository = customerRepository;
 }
 public SitemapGenerator(ICategoryService categoryService,
     IProductService productService, IManufacturerService manufacturerService,
     ITopicService topicService, CommonSettings commonSettings, IWebHelper webHelper)
 {
     this._categoryService = categoryService;
     this._productService = productService;
     this._manufacturerService = manufacturerService;
     this._topicService = topicService;
     this._commonSettings = commonSettings;
     this._webHelper = webHelper;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="queuedSmsRepository">Queued sms repository</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="dbContext">DB context</param>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public QueuedSmsService(IRepository<QueuedSms> queuedSmsRepository,
     IEventPublisher eventPublisher,
     IDbContext dbContext, 
     IDataProvider dataProvider, 
     CommonSettings commonSettings)
 {
     _queuedSmsRepository = queuedSmsRepository;
     _eventPublisher = eventPublisher;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
Esempio n. 9
0
 public SitemapGenerator(IStoreContext storeContext,
     ICategoryService categoryService, IProductService productService, 
     IManufacturerService manufacturerService, ITopicService topicService, 
     CommonSettings commonSettings)
 {
     this._storeContext = storeContext;
     this._categoryService = categoryService;
     this._productService = productService;
     this._manufacturerService = manufacturerService;
     this._topicService = topicService;
     this._commonSettings = commonSettings;
 }
Esempio n. 10
0
 public HomeController(IStoreContext storeContext, 
     CommonSettings commonSettings, 
     ISettingService settingService,
     IWorkContext workContext,
     ICacheManager cacheManager)
 {
     this._storeContext = storeContext;
     this._commonSettings = commonSettings;
     this._settingService = settingService;
     this._workContext = workContext;
     this._cacheManager= cacheManager;
 }
Esempio n. 11
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="productTagRepository">Product tag repository</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="eventPublisher">Event published</param>
 public ProductTagService(IRepository<ProductTag> productTagRepository,
     IDataProvider dataProvider, 
     IDbContext dbContext,
     CommonSettings commonSettings,
     ICacheManager cacheManager,
     IEventPublisher eventPublisher)
 {
     this._productTagRepository = productTagRepository;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
     this._cacheManager = cacheManager;
     this._eventPublisher = eventPublisher;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="activityLogRepository">Activity log repository</param>
 /// <param name="activityLogTypeRepository">Activity log type repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="activityKeywordsProvider">Activity Keywords provider</param>
 /// <param name="commonSettings">Common settings</param>
 public CustomerActivityService(ICacheManager cacheManager,
     IRepository<ActivityLog> activityLogRepository,
     IRepository<ActivityLogType> activityLogTypeRepository,
     IWorkContext workContext,
     IActivityKeywordsProvider activityKeywordsProvider,
     CommonSettings commonSettings)
 {
     this._cacheManager = cacheManager;
     this._activityLogRepository = activityLogRepository;
     this._activityLogTypeRepository = activityLogTypeRepository;
     this._workContext = workContext;
     this._activityKeywordsProvider = activityKeywordsProvider;
     this._commonSettings = commonSettings;
 }
Esempio n. 13
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="activityLogRepository">Activity log repository</param>
 /// <param name="activityLogTypeRepository">Activity log type repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="dbContext">DB context</param>>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="webHelper">Web helper</param>
 public CustomerActivityService(ICacheManager cacheManager,
     IRepository<ActivityLog> activityLogRepository,
     IRepository<ActivityLogType> activityLogTypeRepository,
     IWorkContext workContext,
     IDbContext dbContext, IDataProvider dataProvider,
     CommonSettings commonSettings,
     IWebHelper webHelper)
 {
     this._cacheManager = cacheManager;
     this._activityLogRepository = activityLogRepository;
     this._activityLogTypeRepository = activityLogTypeRepository;
     this._workContext = workContext;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
     this._webHelper = webHelper;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="logger">Logger</param>
 /// <param name="workContext">Work context</param>
 /// <param name="lsrRepository">Locale string resource repository</param>
 /// <param name="languageService">Language service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="eventPublisher">Event published</param>
 public LocalizationService(ICacheManager cacheManager,
     ILogger logger, IWorkContext workContext,
     IRepository<LocaleStringResource> lsrRepository, 
     ILanguageService languageService,
     IDataProvider dataProvider, IDbContext dbContext, CommonSettings commonSettings,
     LocalizationSettings localizationSettings, IEventPublisher eventPublisher)
 {
     this._cacheManager = cacheManager;
     this._logger = logger;
     this._workContext = workContext;
     this._lsrRepository = lsrRepository;
     this._languageService = languageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
     this._localizationSettings = localizationSettings;
     this._eventPublisher = eventPublisher;
 }
Esempio n. 15
0
        public CommonController(ICategoryService categoryService, IProductService productService,
            IManufacturerService manufacturerService, ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService, ILocalizationService localizationService,
            IWorkContext workContext,
            IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator, IThemeContext themeContext,
            IThemeProvider themeProvider, IForumService forumService,
            ICustomerService customerService, IWebHelper webHelper,
            IPermissionService permissionService, CustomerSettings customerSettings,
            TaxSettings taxSettings, CatalogSettings catalogSettings,
            StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, BlogSettings blogSettings, ForumSettings forumSettings,
            LocalizationSettings localizationSettings)
        {
            this._categoryService = categoryService;
            this._productService = productService;
            this._manufacturerService = manufacturerService;
            this._topicService = topicService;
            this._languageService = languageService;
            this._currencyService = currencyService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._queuedEmailService = queuedEmailService;
            this._emailAccountService = emailAccountService;
            this._sitemapGenerator = sitemapGenerator;
            this._themeContext = themeContext;
            this._themeProvider = themeProvider;
            this._forumservice = forumService;
            this._customerService = customerService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;

            this._customerSettings = customerSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._commonSettings = commonSettings;
            this._blogSettings = blogSettings;
            this._forumSettings = forumSettings;
            this._localizationSettings = localizationSettings;
        }
Esempio n. 16
0
 public SitemapGenerator(IStoreContext storeContext,
     ICategoryService categoryService,
     IProductService productService, 
     IManufacturerService manufacturerService, 
     ITopicService topicService,
     CommonSettings commonSettings,
     BlogSettings blogSettings,
     NewsSettings newsSettings,
     ForumSettings forumSettings)
 {
     this._storeContext = storeContext;
     this._categoryService = categoryService;
     this._productService = productService;
     this._manufacturerService = manufacturerService;
     this._topicService = topicService;
     this._commonSettings = commonSettings;
     this._blogSettings = blogSettings;
     this._newsSettings = newsSettings;
     this._forumSettings = forumSettings;
 }
        public AUCatalogService(

            CatalogSettings catalogSettings,
            CommonSettings commonSettings,
            IDbContext dbContext,
            IDataProvider dataProvider,
            IStoreService storeService,
            IWorkContext workContext,
            ISettingService settings,
            IAuthenticationService authenticationService
            )
        {
            this._catalogSettings = catalogSettings;
            this._commonSettings = commonSettings;
            this._dbContext = dbContext;
            this._dataProvider = dataProvider;
            this._storeService = storeService;
            this._workContext = workContext;
            this._settings = settings;
            this._authenticationService = authenticationService;

 
        }
Esempio n. 18
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="productAttributeService">Product attribute service</param>
 /// <param name="productAttributeParser">Product attribute parser service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="productTagRepository">Product Tag repository</param>
 public ProductService(ICacheManager cacheManager,
     IRepository<Product> productRepository,
     IRepository<ProductReview> productReviewRepository,
     IRepository<LocalizedProperty> localizedPropertyRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<UrlRecord> urlRecordRepository,
     IRepository<Customer> customerRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider, 
     IWorkContext workContext,
     IStoreContext storeContext,
     LocalizationSettings localizationSettings, 
     CommonSettings commonSettings,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IRepository<ProductTag> productTagRepository,
     IRepository<ProductAlsoPurchased> productalsopurchasedRepository)
 {
     this._cacheManager = cacheManager;
     this._productRepository = productRepository;
     this._productReviewRepository = productReviewRepository;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._aclRepository = aclRepository;
     this._urlRecordRepository = urlRecordRepository;
     this._customerRepository = customerRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._workContext = workContext;
     this._storeContext= storeContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._productTagRepository = productTagRepository;
     this._productalsopurchasedRepository = productalsopurchasedRepository;
 }
Esempio n. 19
0
 public CustomerService(ICacheManager cacheManager,
     IRepository<Customer> customerRepository,
     IRepository<CustomerRole> customerRoleRepository,
     IRepository<CustomerRoleProduct> customerRoleProductRepository,
     IRepository<Order> orderRepository,
     IRepository<ForumPost> forumPostRepository,
     IRepository<ForumTopic> forumTopicRepository,
     IRepository<BlogComment> blogCommentRepository,
     IRepository<NewsComment> newsCommentRepository,
     IRepository<PollVotingRecord> pollVotingRecordRepository,
     IRepository<ProductReview> productReviewRepository,
     IRepository<ProductReviewHelpfulness> productReviewHelpfulnessRepository,
     IGenericAttributeService genericAttributeService,
     IDataProvider dataProvider,
     IEventPublisher eventPublisher,
     CustomerSettings customerSettings,
     CommonSettings commonSettings)
 {
     this._cacheManager = cacheManager;
     this._customerRepository = customerRepository;
     this._customerRoleRepository = customerRoleRepository;
     this._customerRoleProductRepository = customerRoleProductRepository;
     this._orderRepository = orderRepository;
     this._forumPostRepository = forumPostRepository;
     this._forumTopicRepository = forumTopicRepository;
     this._blogCommentRepository = blogCommentRepository;
     this._newsCommentRepository = newsCommentRepository;
     this._pollVotingRecordRepository = pollVotingRecordRepository;
     this._productReviewRepository = productReviewRepository;
     this._productReviewHelpfulnessRepository = productReviewHelpfulnessRepository;
     this._genericAttributeService = genericAttributeService;
     this._dataProvider = dataProvider;
     this._eventPublisher = eventPublisher;
     this._customerSettings = customerSettings;
     this._commonSettings = commonSettings;
 }
Esempio n. 20
0
        public CommonController(ICategoryService categoryService, IProductService productService,
            IManufacturerService manufacturerService, ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService, ILocalizationService localizationService,
            IWorkContext workContext, IStoreContext storeContext,
            IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator, IThemeContext themeContext,
            IThemeProvider themeProvider, IForumService forumService,
            IGenericAttributeService genericAttributeService, IWebHelper webHelper,
            IPermissionService permissionService, IMobileDeviceHelper mobileDeviceHelper,
            HttpContextBase httpContext, ICacheManager cacheManager,
            ICustomerActivityService customerActivityService, CustomerSettings customerSettings, 
            TaxSettings taxSettings, CatalogSettings catalogSettings,
            StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, BlogSettings blogSettings, 
            NewsSettings newsSettings, ForumSettings forumSettings,
            LocalizationSettings localizationSettings, CaptchaSettings captchaSettings)
        {
            this._categoryService = categoryService;
            this._productService = productService;
            this._manufacturerService = manufacturerService;
            this._topicService = topicService;
            this._languageService = languageService;
            this._currencyService = currencyService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._queuedEmailService = queuedEmailService;
            this._emailAccountService = emailAccountService;
            this._sitemapGenerator = sitemapGenerator;
            this._themeContext = themeContext;
            this._themeProvider = themeProvider;
            this._forumservice = forumService;
            this._genericAttributeService = genericAttributeService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._mobileDeviceHelper = mobileDeviceHelper;
            this._httpContext = httpContext;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;

            this._customerSettings = customerSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._commonSettings = commonSettings;
            this._blogSettings = blogSettings;
            this._newsSettings = newsSettings;
            this._forumSettings = forumSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
        }
Esempio n. 21
0
 public CustomerController(ICustomerService customerService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IGenericAttributeService genericAttributeService,
     ICustomerRegistrationService customerRegistrationService,
     ICustomerReportService customerReportService, 
     IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService,
     IRewardPointsService rewardPointsService,
     DateTimeSettings dateTimeSettings,
     TaxSettings taxSettings, 
     RewardPointsSettings rewardPointsSettings,
     ICountryService countryService, 
     IStateProvinceService stateProvinceService, 
     IAddressService addressService,
     CustomerSettings customerSettings,
     ITaxService taxService, 
     IWorkContext workContext,
     IVendorService vendorService,
     IStoreContext storeContext,
     IPriceFormatter priceFormatter,
     IOrderService orderService, 
     IExportManager exportManager,
     ICustomerActivityService customerActivityService,
     IPriceCalculationService priceCalculationService,
     IProductAttributeFormatter productAttributeFormatter,
     IPermissionService permissionService, 
     IQueuedEmailService queuedEmailService,
     EmailAccountSettings emailAccountSettings,
     IEmailAccountService emailAccountService, 
     ForumSettings forumSettings,
     IForumService forumService, 
     IOpenAuthenticationService openAuthenticationService,
     AddressSettings addressSettings,
     CommonSettings commonSettings,
     IStoreService storeService,
     ICustomerAttributeParser customerAttributeParser,
     ICustomerAttributeService customerAttributeService,
     IAddressAttributeParser addressAttributeParser,
     IAddressAttributeService addressAttributeService,
     IAddressAttributeFormatter addressAttributeFormatter,
     IAffiliateService affiliateService,
     IWorkflowMessageService workflowMessageService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IContactUsService contactUsService)
 {
     this._customerService = customerService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._genericAttributeService = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerReportService = customerReportService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._rewardPointsService = rewardPointsService;
     this._dateTimeSettings = dateTimeSettings;
     this._taxSettings = taxSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._customerSettings = customerSettings;
     this._commonSettings = commonSettings;
     this._taxService = taxService;
     this._workContext = workContext;
     this._vendorService = vendorService;
     this._storeContext = storeContext;
     this._priceFormatter = priceFormatter;
     this._orderService = orderService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._priceCalculationService = priceCalculationService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._permissionService = permissionService;
     this._queuedEmailService = queuedEmailService;
     this._emailAccountSettings = emailAccountSettings;
     this._emailAccountService = emailAccountService;
     this._forumSettings = forumSettings;
     this._forumService = forumService;
     this._openAuthenticationService = openAuthenticationService;
     this._addressSettings = addressSettings;
     this._storeService = storeService;
     this._customerAttributeParser = customerAttributeParser;
     this._customerAttributeService = customerAttributeService;
     this._addressAttributeParser = addressAttributeParser;
     this._addressAttributeService = addressAttributeService;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._affiliateService = affiliateService;
     this._workflowMessageService = workflowMessageService;
     this._backInStockSubscriptionService = backInStockSubscriptionService;
     this._contactUsService = contactUsService;
 }
 public new void Setup()
 {
     _commonSettings = new CommonSettings();
     _validator = new ContactUsValidator(_localizationService, _commonSettings);
 }
Esempio n. 23
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="productVariantRepository">Product variant repository</param>
 /// <param name="relatedProductRepository">Related product repository</param>
 /// <param name="crossSellProductRepository">Cross-sell product repository</param>
 /// <param name="tierPriceRepository">Tier price repository</param>
 /// <param name="localizedPropertyRepository">Localized property repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="productSpecificationAttributeRepository">Product specification attribute repository</param>
 /// <param name="productAttributeService">Product attribute service</param>
 /// <param name="productAttributeParser">Product attribute parser service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="eventPublisher">Event published</param>
 public ProductService(ICacheManager cacheManager,
     IRepository<Product> productRepository,
     IRepository<ProductVariant> productVariantRepository,
     IRepository<RelatedProduct> relatedProductRepository,
     IRepository<CrossSellProduct> crossSellProductRepository,
     IRepository<TierPrice> tierPriceRepository,
     IRepository<ProductPicture> productPictureRepository,
     IRepository<LocalizedProperty> localizedPropertyRepository,
     IRepository<ProductSpecificationAttribute> productSpecificationAttributeRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider, IDbContext dbContext,
     LocalizationSettings localizationSettings, CommonSettings commonSettings,
     IEventPublisher eventPublisher)
 {
     this._cacheManager = cacheManager;
     this._productRepository = productRepository;
     this._productVariantRepository = productVariantRepository;
     this._relatedProductRepository = relatedProductRepository;
     this._crossSellProductRepository = crossSellProductRepository;
     this._tierPriceRepository = tierPriceRepository;
     this._productPictureRepository = productPictureRepository;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._productSpecificationAttributeRepository = productSpecificationAttributeRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._eventPublisher = eventPublisher;
 }
Esempio n. 24
0
        public SettingController(ISettingService settingService,
            ICountryService countryService, IStateProvinceService stateProvinceService,
            IAddressService addressService, ITaxCategoryService taxCategoryService,
            ICurrencyService currencyService, IPictureService pictureService, 
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IOrderService orderService, IEncryptionService encryptionService,
            IThemeProvider themeProvider, ICustomerService customerService, 
            ICustomerActivityService customerActivityService, IPermissionService permissionService,
            IWebHelper webHelper, IFulltextService fulltextService,
            BlogSettings blogSettings,
            ForumSettings forumSettings, NewsSettings newsSettings,
            ShippingSettings shippingSettings, TaxSettings taxSettings,
            CatalogSettings catalogSettings, RewardPointsSettings rewardPointsSettings,
            CurrencySettings currencySettings, OrderSettings orderSettings,
            ShoppingCartSettings shoppingCartSettings, MediaSettings mediaSettings,
            CustomerSettings customerSettings,
            DateTimeSettings dateTimeSettings, StoreInformationSettings storeInformationSettings,
            SeoSettings seoSettings,SecuritySettings securitySettings, PdfSettings pdfSettings,
            LocalizationSettings localizationSettings, AdminAreaSettings adminAreaSettings,
            CaptchaSettings captchaSettings, ExternalAuthenticationSettings externalAuthenticationSettings,
            CommonSettings commonSettings)
        {
            this._settingService = settingService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._addressService = addressService;
            this._taxCategoryService = taxCategoryService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._orderService = orderService;
            this._encryptionService = encryptionService;
            this._themeProvider = themeProvider;
            this._customerService = customerService;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._webHelper = webHelper;
            this._fulltextService = fulltextService;

            this._blogSettings = blogSettings;
            this._forumSettings = forumSettings;
            this._newsSettings = newsSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._rewardPointsSettings = rewardPointsSettings;
            this._currencySettings = currencySettings;
            this._orderSettings = orderSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._mediaSettings = mediaSettings;
            this._customerSettings = customerSettings;
            this._dateTimeSettings = dateTimeSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._seoSettings = seoSettings;
            this._securitySettings = securitySettings;
            this._pdfSettings = pdfSettings;
            this._localizationSettings = localizationSettings;
            this._adminAreaSettings = adminAreaSettings;
            this._captchaSettings = captchaSettings;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
            this._commonSettings = commonSettings;
        }
Esempio n. 25
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="relatedProductRepository">Related product repository</param>
 /// <param name="crossSellProductRepository">Cross-sell product repository</param>
 /// <param name="tierPriceRepository">Tier price repository</param>
 /// <param name="localizedPropertyRepository">Localized property repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="productSpecificationAttributeRepository">Product specification attribute repository</param>
 /// <param name="productReviewRepository">Product review repository</param>
 /// <param name="productWarehouseInventoryRepository">Product warehouse inventory repository</param>
 /// <param name="productAttributeService">Product attribute service</param>
 /// <param name="productAttributeParser">Product attribute parser service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 public GroupDealService(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,
     LocalizationSettings localizationSettings,
     CommonSettings commonSettings,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IRepository<Product> productRepo,
     IGenericAttributeService genericAttributeService,
     IRepository<GroupDeal> groupDealRepository,
     IVendorService vendorService,
     IRepository<GroupdealPicture> groupdealPictureRepo,
     IRepository<Product> groupDealProductRepo,
     IRepository<ProductPicture> groupDealProductPictureRepo,
     IRepository<GenericAttribute> genericAttributeRepo)
     : base(cacheManager,
         productRepository,
         relatedProductRepository,
         crossSellProductRepository,
         tierPriceRepository,
         productPictureRepository,
         localizedPropertyRepository,
         aclRepository,
         storeMappingRepository,
         productSpecificationAttributeRepository,
         productReviewRepository,
         productWarehouseInventoryRepository,
         productAttributeService,
         productAttributeParser,
         languageService,
         workflowMessageService,
         dataProvider,
         dbContext,
         workContext,
         localizationSettings,
         commonSettings,
         catalogSettings,
         eventPublisher,
         aclService,
         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._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._productRepo = productRepo;
     this._genericAttributeService = genericAttributeService;
     this._genericAttributeService = genericAttributeService;
     this._groupDealRepository = groupDealRepository;
     this._vendorService = vendorService;
     this._groupdealPictureRepo = groupdealPictureRepo;
     this._groupDealProductRepo = groupDealProductRepo;
     this._groupDealProductPictureRepo = groupDealProductPictureRepo;
     this._genericAttributeRepo = genericAttributeRepo;
 }
Esempio n. 26
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="relatedProductRepository">Related product repository</param>
 /// <param name="crossSellProductRepository">Cross-sell product repository</param>
 /// <param name="tierPriceRepository">Tier price repository</param>
 /// <param name="localizedPropertyRepository">Localized property repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="productSpecificationAttributeRepository">Product specification attribute repository</param>
 /// <param name="productReviewRepository">Product review repository</param>
 /// <param name="specificationAttributeOptionRepository">Specification attribute option repository</param>
 /// <param name="productWarehouseInventoryRepository">Product warehouse inventory repository</param>
 /// <param name="productAttributeService">Product attribute service</param>
 /// <param name="productAttributeParser">Product attribute parser service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 public ProductService(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,
     IRepository<SpecificationAttributeOption> specificationAttributeOptionRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider,
     IDbContext dbContext,
     IWorkContext workContext,
     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._specificationAttributeOptionRepository = specificationAttributeOptionRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._workContext = workContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
 }
        private readonly IAuthenticationService _authenticationService;  //to get current user




        #endregion

        #region Ctor
        public ConsignorService(
            IRepository<AUConsignorRecord> consignorRepo,
            IRepository<AUConsignorConsignmentRecord> consignorconsignmentRepo,
            IRepository<AUSaleRecord> saleRepo,
            IRepository<AULotRecord> lotRepo,
            IRepository<AUSaleLotRecord> salelotRepo,
            IRepository<AUConsignmentLotRecord> consignmentlotRepo,
            IRepository<AUCountryLotRecord> countrylotRepo,
            IRepository<AUStateProvinceLotRecord> stateprovincelotRepo,
            IRepository<StateProvince> stateprovinceRepo,
            IRepository<AUConsignmentRecord> consignmentRepo,
            IRepository<AULotActivityRecord> lotactivityRepo,
            IRepository<AULotLastBidChangeRecord> lotlastbidchangeRepo,

            IRepository<AUAddressRecord> addressRepo,
            IRepository<Country> countryRepo,
            IRepository<AUIncrementRecord> incrementRepo,
            IRepository<AUFeesRecord> feesRepo,
            IRepository<Customer> customerRepo,
            IRepository<AUFinderFeesRecord> finderfeesRepo,
            IRepository<GenericAttribute> gaRepo,
            ILanguageService languageService,
            IWorkContext workContext,
            IDataProvider dataProvider,
            IDbContext dbContext,
            CatalogSettings catalogSettings,
            CommonSettings commonSettings,
            IShoppingCartService shoppingCartService,
            ICustomerService customerService,
            IProductService productService,
            IAuthenticationService authenticationService
            )
        {   this._consignorRepo = consignorRepo;
            this._consignorconsignmentRepo = consignorconsignmentRepo;
            this._saleRepo = saleRepo;
            this._lotRepo = lotRepo;
            this._salelotRepo = salelotRepo;
            this._consignmentlotRepo = consignmentlotRepo;
            this._countrylotRepo = countrylotRepo;
            this._stateprovincelotRepo = stateprovincelotRepo;
            this._addressRepo = addressRepo;
            this._languageService = languageService;
            this._workContext = workContext;
            this._dataProvider = dataProvider;
            this._dbContext = dbContext;
            this._catalogSettings = catalogSettings;
            this._commonSettings = commonSettings;
            this._shoppingCartService = shoppingCartService;
            this._customerService = customerService;
            this._productService = productService;
            this._consignmentRepo = consignmentRepo;
            this._countryRepo = countryRepo;
            this._lotactivityRepo = lotactivityRepo;
            this._stateprovinceRepo = stateprovinceRepo;
            this._authenticationService = authenticationService;
            this._incrementRepo = incrementRepo;
            this._feesRepo = feesRepo;
            this._customerRepo = customerRepo;
            this._gaRepo = gaRepo;
            this._finderfeesRepo = finderfeesRepo;
            this._lotlastbidchangeRepo = lotlastbidchangeRepo;


        }