public ScrapDomainService(IScrapRepository scrapRepository, IRepository<ScrapDetail> scrapDetailRepository) { this.scrapRepository = scrapRepository; this.scrapDetailRepository = scrapDetailRepository; this.isScrapOpen = new IsScrapOpen(); this.isScrapSubmitted = new IsScrapSubmitted(); this.isScrapSubmitRejected = new IsScrapSubmitRejected(); }
public ScrapApplicationService( IScrapFactory scrapFactory, IScrapRepository scrapRepository, IUnitOfWorkScope unitOfWorkScope, IScrapDomainService scrapDomainService, IVesselInCompanyDomainService vesselDomianService, ICompanyDomainService companyDomainService, ICurrencyDomainService currencyDomainService, IGoodDomainService goodDomainService, IGoodUnitDomainService goodUnitDomainService, ITankDomainService tankDomainService) { this.scrapFactory = scrapFactory; this.scrapRepository = scrapRepository; this.unitOfWorkScope = unitOfWorkScope; this.scrapDomainService = scrapDomainService; this.vesselDomianService = vesselDomianService; this.companyDomainService = companyDomainService; this.currencyDomainService = currencyDomainService; this.goodDomainService = goodDomainService; this.goodUnitDomainService = goodUnitDomainService; this.tankDomainService = tankDomainService; }
public ScrapService(IScrapRepository scrapRepository, IUnitOfWork unitOfWork) { _scrapRepository = scrapRepository; _unitOfWork = unitOfWork; }
public ScrapLogic(IScrapRepository holdLotInfoRepository) { _HoldLotInfoRepository = holdLotInfoRepository; }