Exemple #1
0
 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);
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 public stockoutController(IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IPurchaseRepository _purchaseRepository)
 {
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     purchaseService = new PurchaseService(_purchaseRepository);
 }
Exemple #4
0
 public manageController(IManageRepository _manageRepository,IStockInRepository _stockinrepository)
 {
     manageService = new ManageService(_manageRepository); stockinService = new StockInService(_stockinrepository);
 }