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;
        }
Example #3
0
 public ScrapService(IScrapRepository scrapRepository, IUnitOfWork unitOfWork)
 {
     _scrapRepository = scrapRepository;
     _unitOfWork      = unitOfWork;
 }
Example #4
0
 public ScrapLogic(IScrapRepository holdLotInfoRepository)
 {
     _HoldLotInfoRepository = holdLotInfoRepository;
 }