Пример #1
0
 public OrdersController(
     IQuartetClientFactory                       clientFactory,
     IMappingService<Order,    OrderViewModel>   orderMapping,
     IMappingService<Customer, HCardViewModel>   hcardMapping,
     IMappingService<Address,  AddressViewModel> addressMapping,
     IMailingService                             mailingService,
     IInvoicingService                           invoicingService,
     IFeaturesConfigService                      featuresConfigService,
     IAppSettings                                appSettings,
     IConsultantContext                          consultantContext,
     IConsultantDataServiceClientFactory         consultantDataServiceClientFactory,
     IPromotionService                           promotionService,
     IProductCatalogClientFactory                productCatalogClientFactory,
     IInventoryService                           inventoryService,
     ISubsidiaryAccessor                         subsidiaryAccessor
 )
 {
     _clientFactory                      = clientFactory;
     _orderMapping                       = orderMapping;
     _hcardMapping                       = hcardMapping;
     _addressMapping                     = addressMapping;
     _mailingService                     = mailingService;
     _invoicingService                   = invoicingService;
     _featuresConfigService              = featuresConfigService;
     _appSettings                        = appSettings;
     _consultantContext                  = consultantContext;
     _consultantDataServiceClientFactory = consultantDataServiceClientFactory;
     _promotionService                   = promotionService;
     _productCatalogClientFactory        = productCatalogClientFactory;
     _inventoryService                   = inventoryService;
     _subsidiaryAccessor                 = subsidiaryAccessor;
 }
Пример #2
0
 public NotesController(
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext
 )
 {
     _clientFactory     = clientFactory;
     _consultantContext = consultantContext;
 }
Пример #3
0
 public TasksController(
     IQuartetClientFactory clientFactory,
     IMappingService<TaskListItem, TaskViewModel> taskMapping
 )
 {
     _clientFactory = clientFactory;
     _taskMapping = taskMapping;
 }
Пример #4
0
 public ValidationController(
     IConsultantContext          consultantContext,
     IQuartetClientFactory       clientFactory,
     IAddressVerificationService addressVerificationService
 )
 {
     _consultantContext          = consultantContext;
     _clientFactory              = clientFactory;
     _addressVerificationService = addressVerificationService;
 }
Пример #5
0
        public TasksController(
			IQuartetClientFactory clientFactory,
            IMappingService<TaskListItem, CustomerTaskContent> taskMapping,
            IConsultantContext consultantContext
		)
        {
            _clientFactory = clientFactory;
            _taskMapping = taskMapping;
            _consultantContext = consultantContext;
        }
Пример #6
0
 public DashboardController(
     IQuartetClientFactory clientFactory,
     IAppSettings appSettings,
     IMappingService<NotificationCounts, DashboardViewModel> dashboardMapping
 )
 {
     _clientFactory    = clientFactory;
     _appSettings      = appSettings;
     _dashboardMapping = dashboardMapping;
 }
Пример #7
0
 public SampleRequestController(
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext,
     IMappingService<SampleRequest, SampleRequestViewModel> sampleRequestMappingService
 )
 {
     _clientFactory = clientFactory;
     _consultantContext = consultantContext;
     _sampleRequestMappingService = sampleRequestMappingService;
 }
Пример #8
0
 public WishListProductsController(
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext,
     IAppSettings appSettings
 )
 {
     _clientFactory     = clientFactory;
     _consultantContext = consultantContext;
     _appSettings       = appSettings;
 }
Пример #9
0
 public ActivitySummaryController(
     IQuartetClientFactory quartetClientFactory,
     IConsultantContext consultantContext,
     IMappingService<TaskListItem, Activity> taskMapping
 )
 {
     _quartetClientFactory = quartetClientFactory;
     _consultantContext    = consultantContext;
     _taskMapping          = taskMapping;
 }
 public RecentlyOrderedProductsController(
     IAppSettings appSettings,
     IProductCatalogClientFactory productCatalogClientFactory,
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext
 )
 {
     _appSettings                 = appSettings;
     _productCatalogClientFactory = productCatalogClientFactory;
     _clientFactory               = clientFactory;
     _consultantContext           = consultantContext;
 }
Пример #11
0
 public CDSController(
     IAppSettings appSettings, 
     IConsultantContext consultantContext, 
     IQuartetClientFactory clientFactory,
     ICDSIntegrationService checkoutService
 )
 {
     _appSettings       = appSettings;
     _consultantContext = consultantContext;
     _clientFactory     = clientFactory;
     _checkoutService   = checkoutService;
 }
Пример #12
0
 public CustomerNotesController(
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext,
     IMappingService<Customer, CustomerDetailViewModel> customerMappingService,
     IImportCustomerService importCustomer
 )
 {
     _clientFactory          = clientFactory;
     _consultantContext      = consultantContext;
     _customerMappingService = customerMappingService;
     _importCustomer         = importCustomer;
 }
Пример #13
0
 public MailingService(
     IAppSettings appSettings,
     IConsultantContext consultantContext,
     IQuartetClientFactory quartetClientFactory,
     IProductCatalogClientFactory productCatalogClientFactory,
     ISendMailService emailService
 )
 {
     _appSettings                 = appSettings;
     _quartetClientFactory        = quartetClientFactory;
     _productCatalogClientFactory = productCatalogClientFactory;
     _consultantContext           = consultantContext;
     _emailService                = emailService;
 }
Пример #14
0
 public InvoicingService(
                         IConsultantContext consultantContext,
                         IQuartetClientFactory clientFactory,
                         IAppSettings appSettings,
                         IEnvironmentConfig environmentConfig,
                         ISubsidiaryAccessor subsidiaryAccessor
                     )
     : base(appSettings, environmentConfig, subsidiaryAccessor)
 {
     _quartetClientFactory = clientFactory;
     _consultantContext    = consultantContext;
     _appSettings          = appSettings;
     _numberFormatCulture  = CultureInfo.CreateSpecificCulture(_appSettings.GetValue("Order_InvoiceReceipt_NumberFormatCulture"));
 }
Пример #15
0
 public OrdersController(
     IAppSettings                            appSettings,
     IProductCatalogClientFactory            productCatalogClientFactory,
     IQuartetClientFactory                   clientFactory, 
     IMappingService<Order, OrderViewModel>  orderMapping,
     IFeaturesConfigService                  featuresConfigService
 )
 {
     _appSettings                 = appSettings;
     _productCatalogClientFactory = productCatalogClientFactory;
     _clientFactory               = clientFactory;
     _orderMapping                = orderMapping;
     _featuresConfigService       = featuresConfigService;
 }
Пример #16
0
 public CustomerExportService(
     IConsultantContext consultantContext, 
     IQuartetClientFactory clientFactory, 
     IAppSettings appSettings, 
     IConfigService configService,
     IEnvironmentConfig environmentConfig,
     ISubsidiaryAccessor subsidiaryAccessor
 )
     : base(appSettings, environmentConfig, subsidiaryAccessor)
 {
     _clientFactory     = clientFactory;
     _consultantContext = consultantContext;
     _appSettings       = appSettings;
     _configService     = configService;
 }
Пример #17
0
 public CCPaymentController(
     IAppSettings                            appSettings,
     IProductCatalogClientFactory            productCatalogClientFactory,
     IQuartetClientFactory                   clientFactory, 
     IMappingService<Order, OrderViewModel>  orderMapping,
     IFeaturesConfigService                  featuresConfigService,
     ICreditCardService                      creditCardService,
     IConsultantContext                      consultantContext
 )
 {
     _appSettings                        = appSettings;
     _productCatalogClientFactory        = productCatalogClientFactory;
     _clientFactory                      = clientFactory;
     _orderMapping                       = orderMapping;
     _featuresConfigService              = featuresConfigService;
     _creditCardService                  = creditCardService;
     _consultantContext                  = consultantContext;
 }
Пример #18
0
 public ImportCustomer(
     IConfigService configService,
     IQuartetClientFactory clientFactory,
     IAppSettings appSettings,
     IConsultantContext consultantContext,
     IMappingService<UploadedCustomer, ImportedCustomer> customerMappingService,
     IFacebookAuthentication fbAuth,
     IMailingService emailService
 )
 {
     _configService          = configService;
     _quartetClientFactory   = clientFactory;
     _appSettings            = appSettings;
     _consultantContext      = consultantContext;
     _customerMappingService = customerMappingService;
     _fbAuth                 = fbAuth;
     _emailService           = emailService;
 }
Пример #19
0
 public CustomersController(
     IMappingService<Customer, CustomerDetailViewModel> customerDetailMappingService,
     IAppSettings appSettings,
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext,
     ICustomerExportService customerListService,
     IImportCustomerService importCustomer,
     IConfigService configService,
     IVMOLinkComposer vmoLinkComposer,
     IFeaturesConfigService featuresConfigService,
     IETLinkComposer etLinkComposer
 )
 {
     _appSettings                  = appSettings;
     _clientFactory                = clientFactory;
     _consultantContext            = consultantContext;
     _customerDetailMappingService = customerDetailMappingService;
     _customerListService          = customerListService;
     _importCustomer               = importCustomer;
     _configService                = configService;
     _vmoLinkComposer              = vmoLinkComposer;
     _featuresConfigService        = featuresConfigService;
     _etLinkComposer               = etLinkComposer;
 }
Пример #20
0
 public CustomerGroupsController(IQuartetClientFactory clientFactory)
 {
     _clientFactory = clientFactory;
 }
Пример #21
0
 public QuestionnaireController(IQuartetClientFactory clientFactory, IAppSettings appSettings)
 {
     _clientFactory = clientFactory;
     _appSettings = appSettings;
 }
Пример #22
0
 public VMOLinkComposer(IAppSettings appSettings, IConsultantContext consultantContext, IQuartetClientFactory quartetClientFactory)
 {
     _appSettings          = appSettings;
     _consultantContext    = consultantContext;
     _quartetClientFactory = quartetClientFactory;
 }
Пример #23
0
 public CustomersController(
     IAppSettings appSettings,
     IQuartetClientFactory clientFactory,
     IConsultantContext consultantContext,
     IMappingService<Customer, CustomerDetailViewModel> customerMappingService,
     IMailingService emailService,
     IFeaturesConfigService featuresConfig
 )
 {
     _appSettings       = appSettings;
     _clientFactory     = clientFactory;
     _consultantContext = consultantContext;
     _emailService	   = emailService;
     _featuresConfig    = featuresConfig;
 }
Пример #24
0
 public PrrsController(IQuartetClientFactory clientFactory)
 {
     _clientFactory = clientFactory;
 }
Пример #25
0
 public SampleRequestsController(IQuartetClientFactory clientFactory, IMappingService<Customer, HCardViewModel> hcardMapping)
 {
     _clientFactory = clientFactory;
     _hcardMapping = hcardMapping;
     _customersQuery = _clientFactory.GetCustomersQueryServiceClient();
 }