HotelBooking  0.0.3
HotelBookingApi.Controllers.QueryController Class Reference

Public Member Functions

 QueryController (MongoService mongoService)
 
ActionResult< List< Room > > GetRoomsTypes ([FromQuery(Name="type")] string Type, [FromQuery(Name="start")] string DateStart, [FromQuery(Name="end")] string DateEnd, [FromQuery(Name="lower")] string PriceLower, [FromQuery(Name="higher")] string PriceUpper)
 
ActionResult< RoomTypeGetRoomType (string type)
 
ActionResult< ReservationGetReservationByGuest ([FromQuery]string guest)
 
ActionResult< OrderGetOrderByGuest ([FromQuery]string guest)
 
Inheritance diagram for HotelBookingApi.Controllers.QueryController:
Inheritance graph
Collaboration diagram for HotelBookingApi.Controllers.QueryController:
Collaboration graph

Constructor & Destructor Documentation

◆ QueryController()

HotelBookingApi.Controllers.QueryController.QueryController ( MongoService  mongoService)

Member Function Documentation

◆ GetOrderByGuest()

ActionResult<Order> HotelBookingApi.Controllers.QueryController.GetOrderByGuest ( [FromQuery] string  guest)

◆ GetReservationByGuest()

ActionResult<Reservation> HotelBookingApi.Controllers.QueryController.GetReservationByGuest ( [FromQuery] string  guest)

◆ GetRoomsTypes()

ActionResult<List<Room> > HotelBookingApi.Controllers.QueryController.GetRoomsTypes ( [FromQuery(Name = "type")] string  Type,
[FromQuery(Name = "start")] string  DateStart,
[FromQuery(Name = "end")] string  DateEnd,
[FromQuery(Name = "lower")] string  PriceLower,
[FromQuery(Name = "higher")] string  PriceUpper 
)

◆ GetRoomType()

ActionResult<RoomType> HotelBookingApi.Controllers.QueryController.GetRoomType ( string  type)

The documentation for this class was generated from the following file: