public WInventoryService() { iRepository = new WInventoryRepository(); ilRepository = new WInventoryLineRepository(iRepository.DbCondext); locRepository = new BLocationRepository(iRepository.DbCondext); nuRepository = new SNumberRuleRepository(iRepository.DbCondext); ooRepository = new WOtherOutRepository(iRepository.DbCondext); oolRepository = new WOtherOutLineRepository(iRepository.DbCondext); oiRepositroy = new WOtherInRepository(iRepository.DbCondext); oilRepository = new WOtherInLineRepository(iRepository.DbCondext); }
public WOtherOutService() { ooRepository = new WOtherOutRepository(); oolRepository = new WOtherOutLineRepository(ooRepository.DbCondext); nuRepository = new SNumberRuleRepository(ooRepository.DbCondext); }