Example #1
0
 public BookingController(IBookingProxy bookingService, BookingMapper mapper, IAccommodationProxy accommodationService, IHttpContextAccessor httpContextAccessor)
 {
     this.bookingService       = bookingService;
     this.mapper               = mapper;
     this.accommodationService = accommodationService;
     this.httpContextAccessor  = httpContextAccessor;
 }
 public FacilityController(IFacilityProxy facilityService, FacilityMapper facilityMapper,
                           IAccommodationProxy accommodationService, AccommodationMapper accommodationMapper)
 {
     this.facilityService      = facilityService;
     this.facilityMapper       = facilityMapper;
     this.accommodationService = accommodationService;
     this.accommodationMapper  = accommodationMapper;
 }
Example #3
0
 public BookingController(IBookingProxy bookingService, BookingMapper mapper, IAccommodationProxy accommodationService)
 {
     this.bookingService       = bookingService;
     this.mapper               = mapper;
     this.accommodationService = accommodationService;
 }
 public AccommodationController(IAccommodationProxy service, AccommodationMapper mapper)
 {
     this.service = service;
     this.mapper  = mapper;
 }