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;
        }
Exemplo n.º 4
0
 public RoatpFinancialController(IRoatpOrganisationApiClient apiClient, IRoatpApplicationApiClient applyApiClient, IQnaApiClient qnaApiClient, IHttpContextAccessor contextAccessor, IRoatpFinancialClarificationViewModelValidator clarificationValidator, ICsvExportService csvExportService)
 {
     _applyApiClient         = applyApiClient;
     _contextAccessor        = contextAccessor;
     _clarificationValidator = clarificationValidator;
     _csvExportService       = csvExportService;
     _qnaApiClient           = qnaApiClient;
 }
Exemplo n.º 5
0
 public RoatpFinancialController(IRoatpOrganisationApiClient apiClient, IRoatpApplicationApiClient applyApiClient, IQnaApiClient qnaApiClient, IRoatpSearchTermValidator searchTermValidator, IRoatpFinancialClarificationViewModelValidator clarificationValidator, ICsvExportService csvExportService)
 {
     _applyApiClient         = applyApiClient;
     _searchTermValidator    = searchTermValidator;
     _clarificationValidator = clarificationValidator;
     _csvExportService       = csvExportService;
     _qnaApiClient           = qnaApiClient;
 }
 public ServiceCodeController(IServiceCodeService serviceCodeService,
                              ICsvExportService <ServiceCodeRefundItem, ServiceCodeRefundItemCsvMap> serviceCodeRefundItemCSVExportService,
                              ICsvExportService <ServiceCodeReshipItem, ServiceCodeReshipItemCsvMap> serviceCodeReshipItemCSVExportService)
 {
     _serviceCodeService = serviceCodeService;
     _serviceCodeRefundItemCSVExportService = serviceCodeRefundItemCSVExportService;
     _serviceCodeReshipItemCSVExportService = serviceCodeReshipItemCSVExportService;
 }
 public VitalGreenController(
     IVitalGreenService vitalGreenService,
     ICsvExportService <VitalGreenRequest, VitalGreenRequestCsvMap> csvExportVitalGreenRequestService,
     ILoggerFactory loggerProvider)
 {
     _vitalGreenService = vitalGreenService;
     _csvExportVitalGreenRequestService = csvExportVitalGreenRequestService;
     this._logger = loggerProvider.CreateLogger <VitalGreenController>();
 }
 public DownloadRoatpController(IRoatpApiClient apiClient, IDataTableHelper dataTableHelper,
                                ILogger <DownloadRoatpController> logger, ICsvExportService csvExportService, IRoatpApplicationApiClient applyApiClient)
 {
     _apiClient        = apiClient;
     _dataTableHelper  = dataTableHelper;
     _logger           = logger;
     _csvExportService = csvExportService;
     _applyApiClient   = applyApiClient;
 }
Exemplo n.º 9
0
 public GCController(IGcService GCService,
                     IOrderSchedulerService OrderSchedulerService,
                     ICsvExportService <GCWithOrderListItemModel, GcWithOrderListItemModelCsvMap> gCWithOrderListItemModelCsvMapCSVExportService,
                     ICsvExportService <GCListItemModel, GCListItemModelExportICsvMap> gCListItemModelExportCSVExportService,
                     INotificationService notificationService,
                     ILoggerFactory loggerProvider,
                     ICacheProvider cache,
                     ExtendedUserManager userManager)
 {
     this.GCService             = GCService;
     this.OrderSchedulerService = OrderSchedulerService;
     _gCWithOrderListItemModelCsvMapCSVExportService = gCWithOrderListItemModelCsvMapCSVExportService;
     _gCListItemModelExportCSVExportService          = gCListItemModelExportCSVExportService;
     _userManager         = userManager;
     _notificationService = notificationService;
     _cache      = cache;
     this.logger = loggerProvider.CreateLogger <GCController>();
 }
Exemplo n.º 10
0
 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 InventorySkuController(
     IInventorySkuCategoryService inventorySkuCategoryService,
     IInventorySkuService inventorySkuService,
     InventorySkuMapper mapper,
     ISettingService settingService,
     ICsvExportService <InventorySkuUsageReportItemForExport, InventorySkuUsageReportItemForExportCsvMap>
     inventorySkuUsageReportItemForExportCSVExportService,
     ICsvExportService <SkuInventoriesInfoItem, SkuInventoriesInfoItemCsvMap>
     skuInventoriesInfoItemCSVExportService,
     ILoggerFactory loggerProvider, ExtendedUserManager userManager)
 {
     _inventorySkuCategoryService = inventorySkuCategoryService;
     _inventorySkuService         = inventorySkuService;
     _mapper         = mapper;
     _settingService = settingService;
     _inventorySkuUsageReportItemForExportCSVExportService = inventorySkuUsageReportItemForExportCSVExportService;
     _skuInventoriesInfoItemCSVExportService = skuInventoriesInfoItemCSVExportService;
     _userManager = userManager;
     _logger      = loggerProvider.CreateLogger <InventorySkuController>();
 }
Exemplo n.º 12
0
 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>();
 }
Exemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CsvExportController"/> class.
 /// </summary>
 /// <param name="dataExportService">The injected data export service.</param>
 public CsvExportController(ICsvExportService dataExportService)
 {
     this.dataExportService = dataExportService;
 }
Exemplo n.º 14
0
 public CsvExportController(ICsvExportService csvExportService)
 {
     _csvExportService = csvExportService;
 }