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); }
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); }
public stockoutController(IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IPurchaseRepository _purchaseRepository) { stockinService = new StockInService(_stockinrepository); stockoutService = new StockOutService(_stockoutrepository); purchaseService = new PurchaseService(_purchaseRepository); }