예제 #1
0
 public PurchaseOrderController(
     IPurchaseOrderService purchaseOrderService,
     IPurchaseTypeService purchaseTypeService,
     IPaymentTypeService paymentTypeService,
     ISupplierService supplierService
     )
 {
     this._purchaseOrderService = purchaseOrderService;
     this._purchaseTypeService  = purchaseTypeService;
     this._paymentTypeService   = paymentTypeService;
     this._supplierService      = supplierService;
 }
예제 #2
0
        public PurchaseOrderTest()
        {
            IUnitOfWork uow = new NHUnitOfWork();

            this._purchaseOrderRepository       = new PurchaseOrderRepository(uow);
            this._purchaseOrderDetailRepository = new PurchaseOrderDetailRepository(uow);
            this._purchaseTypeRepository        = new PurchaseTypeRepository(uow);
            this._paymentTypeRepository         = new PaymentTypeRepository(uow);
            this._supplierRepository            = new SupplierRepository(uow);
            this._productRepository             = new ProductRepository(uow);
            this._uersRepository = new UsersRepository(uow);

            this._purchaseTypeService  = new PurchaseTypeService(this._purchaseTypeRepository, this._uersRepository, uow);
            this._purchaseOrderService = new PurchaseOrderService(this._purchaseOrderRepository, _purchaseOrderDetailRepository, this._purchaseTypeRepository, this._paymentTypeRepository, this._supplierRepository, this._productRepository, null, null, null, null, uow);

            this._purchaseOrderDetailService = new PurchaseOrderDetailService(this._purchaseOrderDetailRepository, uow);
            AutoMapperBootStrapper.ConfigureAutoMapper();
        }
예제 #3
0
 public LookupOrchestra(ICountryService countryService, ICurrencyService currencyService, ICustomerTypeService customerTypeService, IDespatchService despatchService,
                        IPorterageService porterageService, IPortService portService, IPackWtUnitService packWtUnitService, IPurchaseChargeTypeService purchaseChargeTypeService,
                        IPurchaseTypeService purchaseTypeService, ITransactionTaxLocationService transactionTaxLocationService, IvwPermissionDetailService permissionDetailService,
                        ICompanyService companyService, IDivisionService divisionService, IDepartmentService departmentService, ISetupGlobalService setupGlobalService, ISetupLocalService setupLocalService)
 {
     _countryService                = countryService;
     _currencyService               = currencyService;
     _customerTypeService           = customerTypeService;
     _despatchService               = despatchService;
     _packWtUnitService             = packWtUnitService;
     _portService                   = portService;
     _porterageService              = porterageService;
     _purchaseChargeTypeService     = purchaseChargeTypeService;
     _purchaseTypeService           = purchaseTypeService;
     _setupGlobalService            = setupGlobalService;
     _setupLocalService             = setupLocalService;
     _transactionTaxLocationService = transactionTaxLocationService;
     _permissionDetailService       = permissionDetailService;
     _companyService                = companyService;
     _divisionService               = divisionService;
     _departmentService             = departmentService;
 }
예제 #4
0
 public PurchaseType(IPurchaseTypeService purchaseTypeService)
     : this()
 {
     this.PurchaseTypeService = purchaseTypeService;
 }
 public ServiceWrapper(
     IAddressService AddressService,
     ICustomerService CustomerService,
     IDepartmentService DepartmentService,
     IEquipmentService EquipmentService,
     IEquipmentCategoryService EquipmentCategoryService,
     IExpenseService ExpenseService,
     IExpenseTypeService ExpenseTypeService,
     IFactoryService FactoryService,
     IIncomeService IncomeService,
     IIncomeTypeService IncomeTypeService,
     IInvoiceService InvoiceService,
     IInvoiceTypeService InvoiceTypeService,
     IItemService ItemService,
     IItemCategoryService ItemCategoryService,
     IItemStatusService ItemStatusService,
     IPayableService PayableService,
     IPaymentStatusService PaymentStatusService,
     IPhoneService PhoneService,
     IProductionService ProductionService,
     IPurchaseService PurchaseService,
     IPurchaseTypeService PurchaseTypeService,
     IRecievableService RecievableService,
     IRoleService RoleService,
     ISalesService SalesService,
     IStaffService StaffService,
     IStockService StockService,
     IStockInService StockInService,
     IStockOutService StockOutService,
     ISupplierService SupplierService,
     ITransactionService TransactionService,
     ITransactionTypeService TransactionTypeService,
     IUserAuthInfoService UserAuthInfoService,
     IUserRoleService UserRoleService,
     IRepositoryWrapper repositoryWrapper,
     IMapper mapper,
     ILoggerManager loggerManager,
     IUtilService utilService,
     IApiResourceMappingService ApiResourceMappingService
     )
 {
     this._AddressService           = AddressService;
     this._CustomerService          = CustomerService;
     this._DepartmentService        = DepartmentService;
     this._EquipmentService         = EquipmentService;
     this._EquipmentCategoryService = EquipmentCategoryService;
     this._ExpenseService           = ExpenseService;
     this._ExpenseTypeService       = ExpenseTypeService;
     this._FactoryService           = FactoryService;
     this._IncomeService            = IncomeService;
     this._IncomeTypeService        = IncomeTypeService;
     this._InvoiceService           = InvoiceService;
     this._InvoiceTypeService       = InvoiceTypeService;
     this._ItemService            = ItemService;
     this._ItemCategoryService    = ItemCategoryService;
     this._ItemStatusService      = ItemStatusService;
     this._PayableService         = PayableService;
     this._PaymentStatusService   = PaymentStatusService;
     this._PhoneService           = PhoneService;
     this._ProductionService      = ProductionService;
     this._PurchaseService        = PurchaseService;
     this._PurchaseTypeService    = PurchaseTypeService;
     this._RecievableService      = RecievableService;
     this._RoleService            = RoleService;
     this._SalesService           = SalesService;
     this._StaffService           = StaffService;
     this._StockService           = StockService;
     this._StockInService         = StockInService;
     this._StockOutService        = StockOutService;
     this._SupplierService        = SupplierService;
     this._TransactionService     = TransactionService;
     this._TransactionTypeService = TransactionTypeService;
     this._UserAuthInfoService    = UserAuthInfoService;
     this._UserRoleService        = UserRoleService;
     this._repositoryWrapper      = repositoryWrapper;
     this._mapper                    = mapper;
     this._loggerManager             = loggerManager;
     this._utilService               = utilService;
     this._ApiResourceMappingService = ApiResourceMappingService;
 }
예제 #6
0
 public PurchaseTypeOrchestra(IPurchaseTypeService purchaseTypeService)
 {
     _purchaseTypeService = purchaseTypeService;
 }