This is an API to reserve a room in hotel.
Retrieves all users on database.
Retrieves all the user reservations.
Updates the user reservation.
Creates an user reservation.
Cancels the user reservation.
Retrieves all reservations in the informated period.
- There is an Middleware responsable for logging the errors of the application in the folder "Logs".
- There is already an user on database for testing purposes. Use "GET: /users" endpoint to get the user id required in most of the endpoints.
- Entityframework in-memory is used to database access, so if the application restart, it will save no data (except for the testing user).
- Swagger is available (https://localhost:xxxxx/swagger/index.html).