Пример #1
0
 public CalendarController(
     IRoomsService roomsService,
     IRoomTypesService roomTypesService,
     IReservationRoomsService reservationRoomsService,
     IReservationsService reservationsService,
     UserManager <HotelUser> userManager)
 {
     this.roomsService            = roomsService;
     this.roomTypesService        = roomTypesService;
     this.reservationRoomsService = reservationRoomsService;
     this.reservationsService     = reservationsService;
     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;
 }