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); }
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); }