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

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

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