public EmailService(IConfiguration configuration, IRoomService roomService, IBedService bedService, IMemoryCache memoryCache)
 {
     this.bedService  = bedService;
     this.roomService = roomService;
     this.memoryCache = memoryCache;
     apiKey           = configuration.GetConnectionString("SendGridApiKey");
 }
示例#2
0
 public RoomController(IRoomService roomService, IDepartmentService departmentService,
                       IRoomTypeService roomTypeService, IBedService bedService)
 {
     this.roomService       = roomService;
     this.departmentService = departmentService;
     this.roomTypeService   = roomTypeService;
     this.bedService        = bedService;
 }
 public HotelController(IHotelService hotelService, UserManager <User> userManager, IImageService imageService, IRoomService roomService, IBedService bedService, IRoomBedService roomBedService, IHotelPropertyTypeService hotelPropertyTypeService, IDateTimeService dateTimeService, IMapper mapper, IReviewService reviewService, IReservationService reservationService)
 {
     this.hotelService             = hotelService;
     this.userManager              = userManager;
     this.imageService             = imageService;
     this.roomService              = roomService;
     this.bedService               = bedService;
     this.roomBedService           = roomBedService;
     this.hotelPropertyTypeService = hotelPropertyTypeService;
     this.dateTimeService          = dateTimeService;
     this.mapper             = mapper;
     this.reviewService      = reviewService;
     this.reservationService = reservationService;
 }
示例#4
0
 public BedController(IMapper mapper, IBedService bedSevice)
 {
     _mapper     = mapper;
     _bedService = bedSevice;
 }
 public RoomsController(IBedService bedService, IRoomService roomService, IHotelService hotelService)
 {
     this.roomService  = roomService;
     this.bedService   = bedService;
     this.hotelService = hotelService;
 }
示例#6
0
 public BedController(IBedService bedService)
 {
     this.bedService = bedService;
 }
 public BedsController(IBedService bedService)
 {
     _bedService = bedService;
 }
示例#8
0
 public BedController()
 {
     _BedService = new BedService();
 }
示例#9
0
 public BedsController()
 {
     this._service = new BedService();
     this._mapper  = new BedMapper();
 }