public IActionResult AddReservationToTravel(int travelId, [FromQuery] int res, [FromQuery] string type)
 {
     try{
         if (TravelRepository.AddReservationToTravel(travelId, res, type.ToUpper()))
         {
             return(Ok("La reserva fue agregada satisfactoriamente"));
         }
         else
         {
             return(StatusCode(400, "No se pudo aƱadir la reserva al viaje"));
         }
     }catch (InternalServerErrorException ex) {
         return(StatusCode(500, ex.Message));
     }catch (Exception) {
         return(StatusCode(400));
     }
 }