예제 #1
0
        public IActionResult Search(string searchText)
        {
            var response = searchClient.SearchOrder(searchText);
            var model    = new SearchResultsModel {
                Results = response.Documents.ToList()
            };

            return(View(model));
        }