Exemple #1
0
 public BookingController(IBookingProxy bookingService, BookingMapper mapper, IAccommodationProxy accommodationService, IHttpContextAccessor httpContextAccessor)
 {
     this.bookingService       = bookingService;
     this.mapper               = mapper;
     this.accommodationService = accommodationService;
     this.httpContextAccessor  = httpContextAccessor;
 }
Exemple #2
0
 public BookingController(IBookingProxy bookingService, BookingMapper mapper, IAccommodationProxy accommodationService)
 {
     this.bookingService       = bookingService;
     this.mapper               = mapper;
     this.accommodationService = accommodationService;
 }