Exemple #1
0
 public WSellReturnService()
 {
     srRepository  = new WSellReturnRepository();
     srlRepository = new WSellReturnLineRepository(srRepository.DbCondext);
     nuRepository  = new SNumberRuleRepository(srRepository.DbCondext);
     slRepository  = new WSellLineRepository(srlRepository.DbCondext);
     sRepository   = new WSellRepository(srlRepository.DbCondext);
 }
Exemple #2
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);
 }