public CharterInApplicationService(ICharterInRepository charterInRepository, ICharterInToDtoMapper charterInToDtoMapper, IUnitOfWorkScope unitOfWorkScope, IWorkflowRepository workflowRepository, ICharterOutDomainService charterOutDomainService, ICharterInDomainService charterInDomainService, IEventPublisher eventPublisher, IVesselInCompanyDomainService vesselInCompanyDomainService, IInventoryOperationNotifier inventoryOperationNotifier) { this._charterInRepository = charterInRepository; this._charterInToDtoMapper = charterInToDtoMapper; this._unitOfWorkScope = unitOfWorkScope; _charterFactory = new CharterFactory(workflowRepository, charterInDomainService, charterOutDomainService, eventPublisher, vesselInCompanyDomainService, inventoryOperationNotifier); }
public CharterInFacadeService( ICharterInApplicationService charterInApplicationService, ICharterInRepository charterInRepository, ICharterInToDtoMapper charterInToDtoMapper, ICharterItemToDtoMapper charterItemToDtoMapper, IInventoryOperationToInventoryOperationDtoMapper inventoryOperationDtoMapper, IEntityConfigurator<Charter> configurator ) { _charterInApplicationService = charterInApplicationService; _charterInRepository = charterInRepository; _charterInToDtoMapper = charterInToDtoMapper; _charterItemToDtoMapper = charterItemToDtoMapper; _inventoryOperationDtoMapper = inventoryOperationDtoMapper; _configurator = configurator; }
public InventoryOperationNotifier( ICharterInToDtoMapper charterInToDtoMapper , ICharterOutToDtoMapper charterOutToDtoMapper , ICharterItemToDtoMapper charterItemToDtoMapper , IScrapToScrapDtoMapper scrapToScrapDtoMapper , IFuelReportFuelReportDtoMapper fuelReportToFuelReportDtoMapper , IFuelReportDetailToFuelReportDetailDtoMapper fuelReportDetailToFuelReportDetailDtoMapper , IInvoiceToDtoMapper invoiceToDtoMapper) { //svc = new FuelServiceClient(); //svc.ClientCredentials.UserName.UserName = "******"; //svc.ClientCredentials.UserName.Password = "******"; this.charterInToDtoMapper = charterInToDtoMapper; this.charterOutToDtoMapper = charterOutToDtoMapper; this.charterItemToDtoMapper = charterItemToDtoMapper; this.scrapToScrapDtoMapper = scrapToScrapDtoMapper; this.fuelReportDetailToFuelReportDetailDtoMapper = fuelReportDetailToFuelReportDetailDtoMapper; this.invoiceToDtoMapper = invoiceToDtoMapper; this.fuelReportToFuelReportDtoMapper = fuelReportToFuelReportDtoMapper; }