Exemple #1
0
        public AuditOrchestra(AuditService auditService, ISetupLocalService setupLocalService, IConsignmentService consignmentService)
        {
            _auditService = auditService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode         = setting != null ? setting.SetupValueNvarchar : "L";
            _consignmentService = consignmentService;
        }
Exemple #2
0
 public DeliveryOrderUpdateWindow(IMarketService marketService, IMapper mapper, IOptions <AppSettings> settings,
                                  IDeliveryShipmentService deliveryShipmentService, IGoodsInMarketService goodsInMarketService,
                                  IConsignmentService consignmentService)
 {
     _marketService           = marketService;
     _mapper                  = mapper;
     _deliveryShipmentService = deliveryShipmentService;
     _goodsInMarketService    = goodsInMarketService;
     _consignmentService      = consignmentService;
     _settings                = settings.Value;
     InitializeComponent();
 }
        public DeliveryOrderWindow(IConsignmentService consignmentService,
                                   IDeliveryContentsService deliveryContentsService, IMapper mapper, IOptions <AppSettings> settings,
                                   IGoodsService goodsService, IDeliveryService deliveryService)
        {
            _consignmentService      = consignmentService;
            _deliveryContentsService = deliveryContentsService;
            _mapper          = mapper;
            _goodsService    = goodsService;
            _deliveryService = deliveryService;
            _settings        = settings.Value;

            InitializeComponent();
        }
        public DeliveryContentsPage(IDeliveryContentsService deliveryContentsService,
                                    IConsignmentService consignmentService, IDeliveryService deliveryService, IOptions <AppSettings> settings,
                                    IMapper mapper, IProviderService providerService, SimpleNavigationService navigationService,
                                    IGoodsService goodsService)
        {
            _deliveryContentsService = deliveryContentsService;
            _consignmentService      = consignmentService;
            _deliveryService         = deliveryService;
            _mapper            = mapper;
            _providerService   = providerService;
            _navigationService = navigationService;
            _goodsService      = goodsService;
            _settings          = settings.Value;

            InitializeComponent();
        }
Exemple #5
0
        public SupplierDepartmentOrchestra(ISupplierDepartmentService supplierService,
                                           ISupplierDepartmentLocationService supplierDepartmentLocationService,
                                           ISupplierLocationService supplierLocationService,
                                           ISetupLocalService setupLocalService,
                                           IConsignmentService consignmentService,
                                           ICountryService countryService,
                                           INoteService noteService)
        {
            _supplierDepartmentService         = supplierService;
            _supplierDepartmentLocationService = supplierDepartmentLocationService;
            _supplierLocationService           = supplierLocationService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode         = setting != null ? setting.SetupValueNvarchar : "L";
            _consignmentService = consignmentService;
            _countryService     = countryService;
            _noteService        = noteService;
        }
        //I think this is the method that uses dependancy injection to create the repos - as opposed to manual
        //see:http://alexwolfthoughts.com/creating-a-generic-repository-with-entity-framework-and-mvc
        public AUPublicController(IRepository<AUConsignorRecord> consignorRepo,
                                        IRepository<AUConsignmentRecord> consignmentRepo,
                                        IRepository<AUConsignorConsignmentRecord> consignorconsignmentRepo,
                                        IRepository<AUConsignorList> consignorlistRepo,
                                        IRepository<AUSaleRecord> saleRepo,
                                        IRepository<AUSessionRecord> sessionRepo,
                                        IRepository<AUIncrementRecord> incrementRepo,
                                        IRepository<AUAddressRecord> addressRepo,
                                        IRepository<AUCombAddress> combAddressRepo,
                                        IRepository<AULotList> lotlistRepo,
                                        IRepository<AUFeesRecord> feesRepo,
                                        IRepository<AUBidHistoryRecord> bidhistoryRepo,

                                        ICacheManager cacheManager,
                                        IPictureService pictureService,
                                        IConsignmentService consignmentservice,
                                        ILotService lotService,
                                        IForumService forumservice,

                                        IConsignorService consignorservice,
                                        IDateTimeHelper dateTimeHelper,
                                        IAuthenticationService authenticationService,
                                        ILocalizationService localizationService,
                                        ICountryService countryService,
                                        IStateProvinceService stateProvinceService, 
                                        IWorkContext workContext,                                        
                                        ICollectibleImportService collectibleimportService, 
                                        //IRepository<AUCombConsignorConsignment> combinedRepo,
                                        ICategoryService categoryService,
                                        IStoreService storeService,
                                        IShippingService shippingService,
                                        IPermissionService permissionService,
                                        IEventPublisher eventPublisher,
                                        ISettingService settings,
                                        IProductService productService,
                                        IDbContext dbContext,
                                        IPhilatelicPdfService philatelicpdfService,
                                        ICollectibleExportService collectibleexportService,
                                        IAUSaleService ausaleService,
                                        IAclService aclService,
                                        IStoreMappingService storeMappingService,
                                        CatalogSettings catalogSettings,
                                        IWebHelper webHelper,
                                        IPriceFormatter priceFormatter,
                                        ICurrencyService currencyService,
                                        IStoreContext storeContext,
                                        MediaSettings mediaSettings,
                                        IPriceCalculationService priceCalculationService,
                                        ISpecificationAttributeService specificationAttributeService,
                                        ITaxService taxService,
                                        ICategoryTemplateService categoryTemplateService,
                                        ICustomerActivityService customerActivityService,
                                        ShoppingCartSettings shoppingCartSettings,
                                        IAUCatalogService AUcatalogService,     
                                        IForumService forumService,             
                                        ICustomerService customerService,      
                                        ForumSettings forumSettings,          
                                        ILogger logger,
                                        IRecentlyViewedProductsService recentlyViewedProductsService,
                                        SeoSettings seoSettings,
                                        IVendorService vendorService,
                                        VendorSettings vendorSettings,
                                        IProductTagService productTagService,
                                        IProductTemplateService productTemplateService,
                                        IProductAttributeParser productAttributeParser,
                                        IManufacturerService manufacturerService,
                                        IMeasureService measureService,
                                        IProductAttributeService productAttributeService,
                                        CustomerSettings customerSettings,
                                        IGenericAttributeService genericAttributeService,
                                        ISearchTermService searchTermService,
                                        IShoppingCartService shoppingCartService,
                                        IProductAttributeFormatter productAttributeFormatter)                         
        {
            _cacheManager = cacheManager;
            _pictureService = pictureService;
            _lotService = lotService;
            _forumservice = forumservice;

            _consignorRepo = consignorRepo;
            _consignmentRepo = consignmentRepo;
            _consignorconsignmentRepo = consignorconsignmentRepo;
            _consignorService = consignorservice;
            _consignmentService = consignmentservice;
            _consignorlistRepo = consignorlistRepo;
            _saleRepo = saleRepo;
            _sessionRepo = sessionRepo;
            _incrementRepo = incrementRepo;
            _addressRepo = addressRepo;
            _combAddressRepo = combAddressRepo;
            _lotlistRepo = lotlistRepo;
            _feesRepo = feesRepo;
            _bidhistoryRepo = bidhistoryRepo;
            _dateTimeHelper = dateTimeHelper;
            _authenticationService = authenticationService;
            _localizationService = localizationService;
            _countryService = countryService;
            _stateProvinceService = stateProvinceService;
            _workContext = workContext;
            _collectibleimportService = collectibleimportService;
            _categoryService = categoryService;
            _storeService = storeService;
            _shippingService = shippingService;
            _permissionService = permissionService;
            _eventPublisher = eventPublisher;
            _settings = settings;
            _productService = productService;
            _dbContext = dbContext;
            _philatelicpdfService = philatelicpdfService;
            _collectibleexportService = collectibleexportService;
            _ausaleService = ausaleService;
            _aclService = aclService;
            _storeMappingService = storeMappingService;
            _catalogSettings = catalogSettings;
            _webHelper = webHelper;
            _priceFormatter = priceFormatter;
            _currencyService = currencyService;
            _storeContext = storeContext;
            _mediaSettings = mediaSettings;
            _priceCalculationService = priceCalculationService;
            _specificationAttributeService = specificationAttributeService;
            _taxService = taxService;
            _categoryTemplateService = categoryTemplateService;
            _customerActivityService = customerActivityService;
            _shoppingCartSettings = shoppingCartSettings;
            _AUcatalogService = AUcatalogService;      
            _forumService = forumService;              
            _customerService = customerService;       
            _forumSettings = forumSettings;            
            _logger = logger;
            _recentlyViewedProductsService = recentlyViewedProductsService;          
            _seoSettings = seoSettings;
            _vendorService = vendorService;
            _vendorSettings = vendorSettings;
            _productTemplateService = productTemplateService;
            _productTagService = productTagService;
            _productAttributeParser = productAttributeParser;
            _manufacturerService = manufacturerService;
            _measureService = measureService;
            _productAttributeService = productAttributeService;
            _customerSettings = customerSettings;
            _genericAttributeService = genericAttributeService;
            _searchTermService = searchTermService;
            _shoppingCartService = shoppingCartService;
            _productAttributeFormatter = productAttributeFormatter;
        }
Exemple #7
0
 public ConsignmentController(IConsignmentService consignmentService)
 {
     _consignmentService = consignmentService;
 }