public InventoryOperationDomainService(
     IInventoryOperationRepository inventoryOperationRepository,
     IScrapDomainService scrapDomainService)
 {
     this.inventoryOperationRepository = inventoryOperationRepository;
     this.scrapDomainService = scrapDomainService;
 }
        public TicketService(
            IMapper mapper,
            IUnitOfWork unitOfWork,
            ITypedCacheService <TicketModel, long> cache,
            ITicketRepository repository,
            IEffortOperationRepository effortOperationRepository,
            IEffortOperationService effortOperationService,
            IInventoryOperationRepository inventoryOperationRepository,
            IInventoryOperationService inventoryOperationService,
            IInventoryService inventoryService,
            ITypedCacheService <EffortOperationModel, long> effortOperationModelCache,
            ITypedCacheService <InventoryOperationModel, long> inventoryOperationModelCache,
            ITypedCacheService <InventoryModel, long> inventoryModelCache)
            : base(mapper, unitOfWork, cache, repository)
        {
            this._effortOperationRepository    = effortOperationRepository;
            this._effortOperationService       = effortOperationService;
            this._inventoryOperationRepository = inventoryOperationRepository;
            this._inventoryOperationService    = inventoryOperationService;
            this._inventoryService             = inventoryService;

            this._effortOperationModelCache    = effortOperationModelCache;
            this._inventoryOperationModelCache = inventoryOperationModelCache;
            this._inventoryModelCache          = inventoryModelCache;
        }
Exemplo n.º 3
0
 public InventoryOperationService(IMapper mapper,
                                  IUnitOfWork unitOfWork,
                                  ITypedCacheService <InventoryOperationModel, long> cache,
                                  IInventoryOperationRepository repository,
                                  IInventoryService inventoryService,
                                  ITypedCacheService <InventoryModel, long> inventoryCache)
     : base(mapper, unitOfWork, cache, repository)
 {
     this._inventoryService = inventoryService;
     this._inventoryCache   = inventoryCache;
 }
 public FuelReportDomainService(
     IFuelReportRepository fuelReportRepository,
     IVoyageDomainService voyageDomainService,
     IInventoryOperationDomainService inventoryOperationDomainService,
     IInventoryOperationRepository inventoryOperationRepository,
     IInventoryOperationFactory inventoryOperationFactory,
     IOrderDomainService orderDomainService,
     IInventoryManagementDomainService inventoryManagementDomainService,
     ICharteringDomainService charteringDomainService)
 {
     this.fuelReportRepository = fuelReportRepository;
     this.voyageDomainService = voyageDomainService;
     this.inventoryOperationDomainService = inventoryOperationDomainService;
     this.inventoryOperationRepository = inventoryOperationRepository;
     this.inventoryOperationFactory = inventoryOperationFactory;
     this.orderDomainService = orderDomainService;
     this.inventoryManagementDomainService = inventoryManagementDomainService;
     this.charteringDomainService = charteringDomainService;
     this.isFuelReportNotCancelled = new IsFuelReportNotCancelled();
     this.isFuelReportIssued = new IsFuelReportIssued(inventoryOperationDomainService);
     this.isFuelReportInFinalApprovedState = new IsFuelReportClosed();
     this.isFuelReportOperational = new IsFuelReportOperational();
     isFuelReportSubmitted = new IsFuelReportSubmitted();
 }