public WSellService() { sRepository = new WSellRepository(); slRepository = new WSellLineRepository(sRepository.DbCondext); nuRepository = new SNumberRuleRepository(sRepository.DbCondext); snlRepository = new WSellNoticeLineRepository(slRepository.DbCondext); snRepository = new WSellNoticeRepository(slRepository.DbCondext); }
public WSellNoticeService() { pnRepository = new WSellNoticeRepository(); pnlRepository = new WSellNoticeLineRepository(pnRepository.DbCondext); nuRepository = new SNumberRuleRepository(pnRepository.DbCondext); }