Exemplo n.º 1
0
 public BookingsController(IFinancialAccountBookingFlow financialAccountBookingFlow,
                           IBankCreditCardBookingFlow bankCreditCardBookingFlow,
                           IOfflinePaymentBookingFlow offlinePaymentBookingFlow,
                           IAgentContextService agentContextService,
                           IAgentBookingManagementService bookingManagementService,
                           IBookingRecordManager bookingRecordManager,
                           IBookingCreditCardPaymentService creditCardPaymentService,
                           IBookingInfoService bookingInfoService,
                           IDateTimeProvider dateTimeProvider,
                           IdempotentBookingExecutor idempotentBookingExecutor)
 {
     _financialAccountBookingFlow = financialAccountBookingFlow;
     _bankCreditCardBookingFlow   = bankCreditCardBookingFlow;
     _offlinePaymentBookingFlow   = offlinePaymentBookingFlow;
     _agentContextService         = agentContextService;
     _bookingManagementService    = bookingManagementService;
     _bookingRecordManager        = bookingRecordManager;
     _creditCardPaymentService    = creditCardPaymentService;
     _bookingInfoService          = bookingInfoService;
     _dateTimeProvider            = dateTimeProvider;
     _idempotentBookingExecutor   = idempotentBookingExecutor;
 }
 public BookingCancellationService(IAgentBookingManagementService bookingManagementService,
                                   BookingInfoService bookingInfoService)
 {
     _bookingManagementService = bookingManagementService;
     _bookingInfoService       = bookingInfoService;
 }