Method | Description | |
---|---|---|
FillSearchResults ( RentalSearchCriteria &criteria ) : void |
Fill search results from criteria search matching rental in repository
|
|
GetCriteria ( System.Web.HttpRequestBase parameters ) : RentalSearchCriteria |
private method to create a SearchCriteria object from route data used to create search criteria from an url
|
|
GetRVD ( RentalSearchCriteria criteria, int page = 1 ) : RouteValueDictionary |
private method to create route data from a SearchCriteria object used to pass search criteria in url
|
|
GetSingleResult ( System.Web.HttpRequestBase parameters, int index ) : RentalSearchSingleResultViewModel |
Get single result for a given index, within search results
|
|
RentalSearchService ( ILogger logger, IGeocodeService geocodeService ) : System |
public FillSearchResults ( RentalSearchCriteria &criteria ) : void | ||
criteria | RentalSearchCriteria | |
return | void |
public GetCriteria ( System.Web.HttpRequestBase parameters ) : RentalSearchCriteria | ||
parameters | System.Web.HttpRequestBase | |
return | RentalSearchCriteria |
public GetRVD ( RentalSearchCriteria criteria, int page = 1 ) : RouteValueDictionary | ||
criteria | RentalSearchCriteria | |
page | int | |
return | RouteValueDictionary |
public GetSingleResult ( System.Web.HttpRequestBase parameters, int index ) : RentalSearchSingleResultViewModel | ||
parameters | System.Web.HttpRequestBase | parameters from which to build result |
index | int | index of the result item |
return | RentalSearchSingleResultViewModel |
public RentalSearchService ( ILogger logger, IGeocodeService geocodeService ) : System | ||
logger | ILogger | |
geocodeService | IGeocodeService | |
return | System |