public async Task <IActionResult> getUndiscoveredLocations(int userId)
        {
            if (userId != int.Parse(User.FindFirst(ClaimTypes.NameIdentifier).Value))
            {
                return(Unauthorized());
            }

            var undiscoveredLocations = await _repo.GetUndiscoveredLocations(userId);

            var undiscoveredLocationsToReturn = _mapper.Map <IEnumerable <UndiscoveredLocationToReturnDto> >(undiscoveredLocations);

            return(Ok(undiscoveredLocationsToReturn));
        }