Esempio n. 1
0
 public ProductController(IProductService productService,
                          IProductTypeService productTypeService,
                          IVendorService vendorService,
                          ISystemJobService jobService,
                          ICompanyService companyService,
                          IImageHelper imageHelper,
                          IMarketplaceInventoryManager inventoryManager,
                          IMarketplaceProductManager productManager,
                          IReportTemplateService reportTemplateManager,
                          IVendorProductLinkService productLinkService,
                          IExportDataService exportDataService,
                          ISavedSearchFilterService savedSearchFilterService)
 {
     _productService           = productService;
     _productTypeService       = productTypeService;
     _vendorService            = vendorService;
     _systemJobService         = jobService;
     _companyService           = companyService;
     _imageHelper              = imageHelper;
     _inventoryManager         = inventoryManager;
     _productManager           = productManager;
     _reportTemplateManager    = reportTemplateManager;
     _productLinkService       = productLinkService;
     _exportDataService        = exportDataService;
     _systemJobsRoot           = ConfigurationManager.AppSettings["SystemJobsRoot"].ToString();
     _savedSearchFilterService = savedSearchFilterService;
 }
Esempio n. 2
0
 public OrderController(IOrderService service, IMarketplaceOrdersManager manager, IReportTemplateService templateService,
                        ISavedSearchFilterService savedSearchFilterService)
 {
     _orderService             = service;
     _manager                  = manager;
     _remportTemplateService   = templateService;
     _savedSearchFilterService = savedSearchFilterService;
 }
 public ConfirmationReportReportService(ITradeService tradeService, ICountryLookupService countryLookupService, IReportTemplateService reportTemplateService, IReportRenderService reportRenderService,
                                        ILogger <ConfirmationReportReportService> logger)
 {
     this.tradeService          = tradeService;
     this.countryLookupService  = countryLookupService;
     this.reportTemplateService = reportTemplateService;
     this.reportRenderService   = reportRenderService;
     this.logger = logger;
 }
 public ReportTemplateController(
     ITypeAdapter typeAdapter,
     IUnitOfWork unitOfWork,
     UserManager <User> userManager,
     IOrganizationRoleService organizationRoleService,
     IReportTemplateService reportTemplateService)
     : base(typeAdapter, unitOfWork, userManager)
 {
     this.organizationRoleService = organizationRoleService;
     this.reportTemplateService   = reportTemplateService;
 }
Esempio n. 5
0
        public IReportTemplateService GetReportTemplateService()
        {
            IReportTemplateService reportTemplateService = flyWeightPool["ReportTemplateService"] as IReportTemplateService;

            if (reportTemplateService == null)
            {
                reportTemplateService = new ReportTemplateServiceImpl();
                flyWeightPool.Add("ReportTemplateService", reportTemplateService);
            }

            return(reportTemplateService);
        }
Esempio n. 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="reportService"></param>
 public ReportController(IReportService reportService, IReportPrintService reportPrintService,
                         IRegistrationService registrationService, IConfigurationService configurationService, IUserManagementService userManagementService,
                         ICommonService commonService, IReportLockService reportLockService, IReportTemplateService reportTemplateService
                         )
 {
     _ReportService         = reportService;
     _ReportPrintService    = reportPrintService;
     _ReportLockService     = reportLockService;
     _ReportTemplateService = reportTemplateService;
     _RegistrationService   = registrationService;
     _ConfigurationService  = configurationService;
     _userManagementService = userManagementService;
     _CommonService         = commonService;
 }