public BookingRegistrationService(IAccommodationBookingSettingsService accommodationBookingSettingsService, IBookingRecordsManager bookingRecordsManager, IBookingDocumentsService documentsService, IPaymentNotificationService notificationService, IBookingMailingService bookingMailingService, IDateTimeProvider dateTimeProvider, IAccountPaymentService accountPaymentService, ISupplierConnectorManager supplierConnectorManager, IBookingPaymentService paymentService, IBookingEvaluationStorage bookingEvaluationStorage, EdoContext context, IBookingResponseProcessor bookingResponseProcessor, IBookingPaymentService bookingPaymentService, ILogger <BookingRegistrationService> logger) { _accommodationBookingSettingsService = accommodationBookingSettingsService; _bookingRecordsManager = bookingRecordsManager; _documentsService = documentsService; _notificationService = notificationService; _bookingMailingService = bookingMailingService; _dateTimeProvider = dateTimeProvider; _accountPaymentService = accountPaymentService; _supplierConnectorManager = supplierConnectorManager; _paymentService = paymentService; _bookingEvaluationStorage = bookingEvaluationStorage; _context = context; _bookingResponseProcessor = bookingResponseProcessor; _bookingPaymentService = bookingPaymentService; _logger = logger; }
public BookingSupportingDocumentsController(IBookingMailingService bookingMailingService, IBookingDocumentsService bookingDocumentsService, IAgentContextService agentContextService) { _bookingMailingService = bookingMailingService; _bookingDocumentsService = bookingDocumentsService; _agentContextService = agentContextService; }
public InternalBookingsController(IBookingsProcessingService bookingsProcessingService, IBookingMailingService bookingMailingService, IServiceAccountContext serviceAccountContext) { _bookingsProcessingService = bookingsProcessingService; _bookingMailingService = bookingMailingService; _serviceAccountContext = serviceAccountContext; }
public BookingsProcessingService(IBookingPaymentService bookingPaymentService, IBookingManagementService bookingManagementService, IBookingMailingService bookingMailingService, EdoContext context) { _bookingPaymentService = bookingPaymentService; _bookingManagementService = bookingManagementService; _bookingMailingService = bookingMailingService; _context = context; }
public BookingChangesProcessor(ISupplierOrderService supplierOrderService, IBookingRecordsManager bookingRecordsManager, IBookingPaymentService paymentService, IBookingMailingService bookingMailingService, ILogger <BookingChangesProcessor> logger, IDateTimeProvider dateTimeProvider, EdoContext context) { _supplierOrderService = supplierOrderService; _bookingRecordsManager = bookingRecordsManager; _paymentService = paymentService; _bookingMailingService = bookingMailingService; _logger = logger; _dateTimeProvider = dateTimeProvider; _context = context; }
private BookingsProcessingService CreateProcessingService(IBookingMailingService mailingService) { var context = MockEdoContextFactory.Create(); context.Setup(c => c.Bookings) .Returns(DbSetMockProvider.GetDbSetMock(Bookings)); context.Setup(c => c.Agents) .Returns(DbSetMockProvider.GetDbSetMock(new[] { Agent })); var service = new BookingsProcessingService(Mock.Of <IBookingPaymentService>(), Mock.Of <IBookingManagementService>(), mailingService, context.Object); return(service); }