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 WOtherInService() { oiRepository = new WOtherInRepository(); oilRepository = new WOtherInLineRepository(oiRepository.DbCondext); nuRepository = new SNumberRuleRepository(oiRepository.DbCondext); }