public ReservationController(UserManager<User> userManager, IReservationService reservationService, IHotelService hotelService, ITaxiReservationService taxiReservationService)
 {
     this.userManager = userManager;
     this.reservationService = reservationService;
     this.hotelService = hotelService;
     this.taxiReservationService = taxiReservationService;
 }
예제 #2
0
 public APIController(ITaxiReservationService taxiReservationService, IMapper mapper, ApplicationContext applicationContext, IUserService userService)
 {
     this.taxiReservationService = taxiReservationService;
     this.mapper             = mapper;
     this.applicationContext = applicationContext;
     this.userService        = userService;
 }