public IActionResult GetCity(int id, bool includePointsOfIntrest = false)
        {
            if (!_repository.CityExists(id))
            {
                return(NotFound());
            }

            var city = _repository.GetCity(id, includePointsOfIntrest);

            if (includePointsOfIntrest)
            {
                return(Ok(_mapper.Map <CityDTO>(city)));
            }

            return(Ok(_mapper.Map <CityWithoutPointOfIntrestDto>(city)));
        }
        public IActionResult GetPointsOfIntrest(int cityId)
        {
            if (!_repository.CityExists(cityId))
            {
                _logger.LogInformation($"City with Id {cityId} wasn't found.");
                return(NotFound());
            }
            var pointOfRepositoryForCity = _repository.GetPointsOfIntrest(cityId);

            return(Ok(_mapper.Map <IEnumerable <PointOfIntrestDto> >(pointOfRepositoryForCity)));
        }