示例#1
0
 public RoomsController(
     IRoomsService roomsServices,
     IPeriodsService periodsServices,
     IReservationsService reservationsServices,
     IHotelsService hotelsService,
     UserManager <BookingUser> userManager)
 {
     this.roomsServices        = roomsServices;
     this.periodsServices      = periodsServices;
     this.reservationsServices = reservationsServices;
     this.hotelsService        = hotelsService;
     this.userManager          = userManager;
 }
示例#2
0
 public RoomsController(IReservationsService reservationsService, IRoomsService roomsService, IPeriodsService periodsService)
 {
     this.reservationsService = reservationsService;
     this.roomsService        = roomsService;
     this.periodsService      = periodsService;
 }
示例#3
0
 public PeriodsController(IPeriodsService periodsService, IReservationsService reservationsService)
 {
     this.periodsService      = periodsService;
     this.reservationsService = reservationsService;
 }