C# Class Worki.Service.RentalSearchService

Inheritance: IRentalSearchService
Afficher le fichier Open project: tah91/eworkyWebSite

Méthodes publiques

Méthode 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

Method Details

FillSearchResults() public méthode

Fill search results from criteria search matching rental in repository
public FillSearchResults ( RentalSearchCriteria &criteria ) : void
criteria RentalSearchCriteria
Résultat void

GetCriteria() public méthode

private method to create a SearchCriteria object from route data used to create search criteria from an url
public GetCriteria ( System.Web.HttpRequestBase parameters ) : RentalSearchCriteria
parameters System.Web.HttpRequestBase
Résultat RentalSearchCriteria

GetRVD() public méthode

private method to create route data from a SearchCriteria object used to pass search criteria in url
public GetRVD ( RentalSearchCriteria criteria, int page = 1 ) : RouteValueDictionary
criteria RentalSearchCriteria
page int
Résultat RouteValueDictionary

GetSingleResult() public méthode

Get single result for a given index, within search results
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
Résultat RentalSearchSingleResultViewModel

RentalSearchService() public méthode

public RentalSearchService ( ILogger logger, IGeocodeService geocodeService ) : System
logger ILogger
geocodeService IGeocodeService
Résultat System