コード例 #1
0
        public IEnumerable <Landmark> GetAll()
        {
            // Log the API call
            _logger.LogInformation("Retrieving all landmarks from persistent storage");

            // Return the landmarks
            return(_landmarkRepository.GetAllLandmarks());
        }