public AffiliateController(
     IAffiliateService affiliateService,
     IAffiliateUserService affiliateUserService,
     ILoggerFactory loggerProvider,
     IDynamicMapper <AffiliateDynamic, Affiliate> mapper,
     ICsvExportService <AffiliateOrderListItemModel, AffiliateOrderListItemModelCsvMap> csvExportAffiliateOrderListItemService,
     ICsvExportService <AffiliateListItemModel, AffiliateListItemModelCsvMap> affiliateListItemModelСSVExportService,
     IOrderService orderService,
     ICountryService countryService,
     ISettingService settingService,
     IOptions <AppOptions> appOptions,
     IObjectHistoryLogService objectHistoryLogService,
     ExtendedUserManager userManager,
     ReferenceData referenceData,
     AppSettings appSettings,
     ICacheProvider cache)
 {
     _affiliateService     = affiliateService;
     _affiliateUserService = affiliateUserService;
     _mapper = mapper;
     _objectHistoryLogService = objectHistoryLogService;
     _userManager             = userManager;
     _referenceData           = referenceData;
     _appSettings             = appSettings;
     _csvExportAffiliateOrderListItemService = csvExportAffiliateOrderListItemService;
     _affiliateListItemModelСSVExportService = affiliateListItemModelСSVExportService;
     _orderService   = orderService;
     _countryService = countryService;
     _settingService = settingService;
     _appOptions     = appOptions;
     _cache          = cache;
     logger          = loggerProvider.CreateLogger <AffiliateController>();
 }
 public SettingController(
     ILogViewService logViewService,
     ICountryService countryService,
     ISettingService settingService,
     IFileService fileService,
     IObjectHistoryLogService objectHistoryLogService,
     ICatalogRequestAddressService catalogRequestAddressService,
     ICsvExportService <CatalogRequestAddressListItemModel, CatalogRequestAddressListItemModelCsvMap> exportCatalogRequestAddressService,
     ILoggerFactory loggerProvider,
     ITableLogsClient logsClient,
     AppSettings appSettings,
     IContentAreaService contentAreaService,
     IOrderReviewRuleService orderReviewRuleService,
     IDynamicMapper <OrderReviewRuleDynamic, OrderReviewRule> orderReviewRuleMapper,
     ExtendedUserManager userManager)
 {
     this.logViewService                 = logViewService;
     this.countryService                 = countryService;
     this.settingService                 = settingService;
     this.fileService                    = fileService;
     this.objectHistoryLogService        = objectHistoryLogService;
     _catalogRequestAddressService       = catalogRequestAddressService;
     _exportCatalogRequestAddressService = exportCatalogRequestAddressService;
     _logsClient             = logsClient;
     _appSettings            = appSettings;
     this.logger             = loggerProvider.CreateLogger <SettingController>();
     _contentAreaService     = contentAreaService;
     _orderReviewRuleService = orderReviewRuleService;
     _orderReviewRuleMapper  = orderReviewRuleMapper;
     _userManager            = userManager;
 }
        public CustomerController(ICustomerService customerService,
            IDynamicMapper<CustomerDynamic, Customer> customerMapper,
            IDynamicMapper<AddressDynamic, Address> addressMapper, ICountryService countryService,
            IGenericService<AdminProfile> adminProfileService, IDynamicServiceAsync<AddressDynamic, Address> addressService,
            IDynamicServiceAsync<CustomerNoteDynamic, CustomerNote> notesService,
            IDynamicMapper<CustomerNoteDynamic, CustomerNote> noteMapper, ILoggerFactory loggerProvider,
            IStorefrontUserService storefrontUserService,
            IObjectHistoryLogService objectHistoryLogService,
            ICsvExportService<ExtendedVCustomer, CustomersForAffiliatesCsvMap> csvExportCustomersForAffiliatesService,
            ICsvExportService<WholesaleListitem, WholesaleListitemCsvMap> csvExportWholesaleListitemService,
            IPaymentMethodService paymentMethodService, 
            ExtendedUserManager userManager,
            INotificationService notificationService, ReferenceData referenceData)
        {
            _customerService = customerService;
            _countryService = countryService;
            _adminProfileService = adminProfileService;
	        _customerMapper = customerMapper;
            _addressMapper = addressMapper;
            _addressService = addressService;
            _notesService = notesService;
            _noteMapper = noteMapper;
            this.logger = loggerProvider.CreateLogger<CustomerController>();
	        _storefrontUserService = storefrontUserService;
            _objectHistoryLogService = objectHistoryLogService;
            _csvExportCustomersForAffiliatesService = csvExportCustomersForAffiliatesService;
            _csvExportWholesaleListitemService = csvExportWholesaleListitemService;
	        _paymentMethodService = paymentMethodService;
            _userManager = userManager;
            _notificationService = notificationService;
            _referenceData = referenceData;
        }
Exemple #4
0
 public PromotionController(
     IPromotionService promotionService,
     IProductService productService,
     ILoggerFactory loggerProvider,
     IDynamicMapper <PromotionDynamic, Promotion> mapper,
     IObjectHistoryLogService objectHistoryLogService, ExtendedUserManager userManager)
 {
     _promotionService        = promotionService;
     _productService          = productService;
     _objectHistoryLogService = objectHistoryLogService;
     _userManager             = userManager;
     _mapper = mapper;
     _logger = loggerProvider.CreateLogger <PromotionController>();
 }
 public DiscountController(
     IDiscountService discountService,
     IProductService productService,
     ILoggerFactory loggerProvider,
     IDynamicMapper <DiscountDynamic, Discount> mapper,
     IObjectHistoryLogService objectHistoryLogService,
     ExtendedUserManager userManager,
     ReferenceData referenceData,
     ICsvExportService <DiscountListItemModel, DiscountListItemExportCsvMap> discountListItemExportCsvMapСSVExportService)
 {
     _discountService         = discountService;
     _productService          = productService;
     _objectHistoryLogService = objectHistoryLogService;
     _userManager             = userManager;
     _referenceData           = referenceData;
     _mapper = mapper;
     _discountListItemExportCsvMapСSVExportService = discountListItemExportCsvMapСSVExportService;
     _logger = loggerProvider.CreateLogger <DiscountController>();
 }
 public ProductController(IProductCategoryService productCategoryService,
                          IProductService productService,
                          IDynamicServiceAsync <ProductDynamic, Product> productUniversalService,
                          IInventoryCategoryService inventoryCategoryService,
                          IProductReviewService productReviewService,
                          ILoggerFactory loggerProvider,
                          ISettingService settingService,
                          IDynamicMapper <ProductDynamic, Product> mapper,
                          ICsvExportService <ProductCategoryStatisticTreeItemModel, ProductCategoryStatisticTreeItemCsvMap> productCategoryStatisticTreeItemCSVExportService,
                          ICsvExportService <SkuBreakDownReportItem, SkuBreakDownReportItemCsvMap> skuBreakDownReportItemCSVExportService,
                          ICsvExportService <SkuAverageDailySalesBySkuReportItem, SkuAverageDailySalesBySkuReportItemCsvMap>
                          skuAverageDailySalesBySkuReportItemCsvMapCSVExportService,
                          ICsvExportService <SkuAverageDailySalesByProductReportItem, SkuAverageDailySalesByProductReportItemCsvMap>
                          skuAverageDailySalesProductReportItemCsvMapCSVExportService,
                          IObjectHistoryLogService objectHistoryLogService,
                          ExtendedUserManager userManager,
                          IAgentService agentService,
                          IDynamicMapper <SkuDynamic, Sku> skuMapper,
                          AppSettings appSettings,
                          ICacheProvider cache)
 {
     this.productCategoryService   = productCategoryService;
     this.inventoryCategoryService = inventoryCategoryService;
     this.productService           = productService;
     this.productUniversalService  = productUniversalService;
     this.productReviewService     = productReviewService;
     this.settingService           = settingService;
     this.productCategoryStatisticTreeItemCSVExportService = productCategoryStatisticTreeItemCSVExportService;
     _skuBreakDownReportItemCSVExportService = skuBreakDownReportItemCSVExportService;
     this.objectHistoryLogService            = objectHistoryLogService;
     _userManager  = userManager;
     _agentService = agentService;
     _skuMapper    = skuMapper;
     _appSettings  = appSettings;
     _mapper       = mapper;
     _skuAverageDailySalesBySkuReportItemCsvMapCSVExportService   = skuAverageDailySalesBySkuReportItemCsvMapCSVExportService;
     _skuAverageDailySalesProductReportItemCsvMapCSVExportService = skuAverageDailySalesProductReportItemCsvMapCSVExportService;
     _cache      = cache;
     this.logger = loggerProvider.CreateLogger <ProductController>();
 }