Example #1
0
 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);
 }
Example #2
0
 public WSellNoticeService()
 {
     pnRepository  = new WSellNoticeRepository();
     pnlRepository = new WSellNoticeLineRepository(pnRepository.DbCondext);
     nuRepository  = new SNumberRuleRepository(pnRepository.DbCondext);
 }