public ReservationsController(
     IReservationsService reservationsService,
     IReservationStatusesService reservationStatusesService,
     IPaymentsService paymentsService,
     IReservationPaymentsService reservationPaymentsService,
     IEmailSender emailSender,
     UserManager <HotelUser> userManager)
 {
     this.reservationsService        = reservationsService;
     this.reservationStatusesService = reservationStatusesService;
     this.paymentsService            = paymentsService;
     this.reservationPaymentsService = reservationPaymentsService;
     this.emailSender = emailSender;
     this.userManager = userManager;
 }
 public AccommodationsController(
     UserManager <HotelUser> userManager,
     IRoomsService roomsService,
     IReservationsService reservationsService,
     IRoomTypesService roomTypesService,
     IReservationStatusesService reservationStatusesService,
     IPaymentTypesService paymentTypesService,
     IReservationRoomsService reservationRoomsService,
     IEmailSender emailSender)
 {
     this.userManager                = userManager;
     this.roomsService               = roomsService;
     this.reservationsService        = reservationsService;
     this.roomTypesService           = roomTypesService;
     this.reservationStatusesService = reservationStatusesService;
     this.paymentTypesService        = paymentTypesService;
     this.reservationRoomsService    = reservationRoomsService;
     this.emailSender                = emailSender;
 }