public IActionResult AddLocationsToTravel(int travelId, [FromBody] List <Location> locations)
        {
            Boolean saved = false;

            try{
                saved = TravelRepository.AddLocationsToTravel(travelId, locations);
                if (saved)
                {
                    return(Ok("Las ciudades fueron agregadas satisfactoriamente"));
                }
                return(Ok(saved));
            }catch (InternalServerErrorException ex) {
                return(StatusCode(500, ex.Message));
            }catch (Exception) {
                return(StatusCode(400));
            }
        }