Example #1
0
        private object Search()
        {
            var searchResults = _searchProxy.SearchForNewEntity((string)Request.Query.term);

            return(MapToResource(searchResults).ToList());
        }
Example #2
0
        public object Search([FromQuery] string term)
        {
            var searchResults = _searchProxy.SearchForNewEntity(term);

            return(MapToResource(searchResults).ToList());
        }