コード例 #1
0
 public BookingConfirmationController(IBookingConfirmationService bookingConfirmationService, IBookingInfoService bookingInfoService,
                                      IPropertyOwnerConfirmationUrlGenerator urlGenerationService)
 {
     _bookingConfirmationService = bookingConfirmationService;
     _bookingInfoService         = bookingInfoService;
     _urlGenerationService       = urlGenerationService;
 }
コード例 #2
0
 public BookingConfirmationService(EdoContext context, IBookingRecordManager bookingRecordManager,
                                   IBookingRecordsUpdater recordsUpdater, IPropertyOwnerConfirmationUrlGenerator urlGenerationService, INotificationService notificationService,
                                   IOptions <PropertyOwnerMailingOptions> options, IAccommodationMapperClient client, ILogger <BookingConfirmationService> logger,
                                   IHostEnvironment hostingEnvironment)
 {
     _context = context;
     _bookingRecordManager = bookingRecordManager;
     _recordsUpdater       = recordsUpdater;
     _urlGenerationService = urlGenerationService;
     _notificationService  = notificationService;
     _options            = options.Value;
     _client             = client;
     _logger             = logger;
     _hostingEnvironment = hostingEnvironment;
 }