public IActionResult Search(string searchText) { var response = searchClient.SearchOrder(searchText); var model = new SearchResultsModel { Results = response.Documents.ToList() }; return(View(model)); }