public EmailService(IConfiguration configuration, IRoomService roomService, IBedService bedService, IMemoryCache memoryCache) { this.bedService = bedService; this.roomService = roomService; this.memoryCache = memoryCache; apiKey = configuration.GetConnectionString("SendGridApiKey"); }
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; }
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; }
public BedController(IBedService bedService) { this.bedService = bedService; }
public BedsController(IBedService bedService) { _bedService = bedService; }
public BedController() { _BedService = new BedService(); }
public BedsController() { this._service = new BedService(); this._mapper = new BedMapper(); }