C# Class MyWebAppService.Controllers.SearchController

Inheritance: ODataController
Mostra file Open project: tyler-technologies/PeopleWhoMatterTrainingWebApp

Public Methods

Method Description
SearchController ( ) : System.Collections.Generic

Private Methods

Method Description
AddPersonSearchHitsToSearchObject ( List list, IndexSearch search ) : void

For each Person object provided in the list, a PersonSearchHit object is created and added to the provided IndexSearch.SearchResult.Hits collection.

Get ( ) : IHttpActionResult
GetPeople ( IndexSearch search ) : ISearchResponse

Retrieves a page of people from ElasticSearch. If search parameter provided is null, the default IndexSearch object is used.

Post ( IndexSearch search ) : IHttpActionResult

Method Details

SearchController() public method

public SearchController ( ) : System.Collections.Generic
return System.Collections.Generic