public SupplierLocationOrchestra(ISupplierLocationService supplierService,
                                         ISetupLocalService setupLocalService,
                                         IAddressService addressService,
                                         INoteService noteService)
        {
            _supplierLocationService = supplierService;
            var setting = setupLocalService.Find("ServerCode");

            _serverCode     = setting != null ? setting.SetupValueNvarchar : "L";
            _addressService = addressService;
            _noteService    = noteService;
        }
示例#2
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;
        }