Exemplo n.º 1
0
 public ScrapFacadeService(
     IScrapApplicationService scrapApplicationService,
     IScrapDomainService scrapDomainService,
     IScrapToScrapDtoMapper scrapDtoMapper,
     IScrapDetailToScrapDetailDtoMapper scrapDetailDtoMapper, IInventoryOperationDomainService inventoryOperationDomainService, IInventoryOperationToInventoryOperationDtoMapper inventoryOperationDtoMapper)
 {
     this.scrapApplicationService = scrapApplicationService;
     this.scrapDomainService = scrapDomainService;
     this.scrapDtoMapper = scrapDtoMapper;
     this.scrapDetailDtoMapper = scrapDetailDtoMapper;
     this.inventoryOperationDomainService = inventoryOperationDomainService;
     this.inventoryOperationDtoMapper = inventoryOperationDtoMapper;
 }
        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;
        }