コード例 #1
0
ファイル: delegateController.cs プロジェクト: gofixiao/dlerp
 public delegateController(IManageRepository _manageRepository, IBomRepository _bomrepository, IPurchaseRepository _bomRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository)
 {
     manageService = new ManageService(_manageRepository);
     bomService = new BomService(_bomrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     stockinService = new StockInService(_stockinrepository);
     purchaseService = new PurchaseService(_bomRepository);
 }
コード例 #2
0
ファイル: mainController.cs プロジェクト: gofixiao/dlerp
 public mainController(IAccountRepository _accountRepository, IManageRepository _manageRepository, IPurchaseRepository _purchaseRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IBomRepository _bomrepository)
 {
     accountService = new AccountService(_accountRepository);
     purchaseService = new PurchaseService(_purchaseRepository);
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     manageService = new ManageService(_manageRepository);
     bomService = new BomService(_bomrepository);
 }
コード例 #3
0
ファイル: stockoutController.cs プロジェクト: gofixiao/dlerp
 public stockoutController(IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IPurchaseRepository _purchaseRepository)
 {
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     purchaseService = new PurchaseService(_purchaseRepository);
 }