C# Class Worki.Web.Areas.Api.Controllers.LocalisationController

Inheritance: Controller
显示文件 Open project: tah91/eworkyWebSite

Private Properties

Property Type Description
AddToFavorites System.Web.Mvc.ActionResult
AddToFavorites System.Web.Mvc.ActionResult
Comment System.Web.Mvc.ActionResult
Comment System.Web.Mvc.ActionResult
Details System.Web.Mvc.ActionResult
GetFavorites System.Web.Mvc.ActionResult
LocalisationController System
RedirectToAction System.Web.Mvc.RedirectToRouteResult
Search System.Web.Mvc.ActionResult

Public Methods

Method Description
Details ( int id ) : System.Web.Mvc.ActionResult

Get action method to get localisation details

GetFavorites ( string token ) : System.Web.Mvc.ActionResult

Get action method to get localisation details

LocalisationController ( ILogger logger, ISearchService searchService, IGeocodeService geocodeService ) : System
Search ( SearchCriteriaApi critariaApi ) : System.Web.Mvc.ActionResult

get action result to search for localisation, for given criteria

Private Methods

Method Description
AddToFavorites ( ) : System.Web.Mvc.ActionResult
AddToFavorites ( int id, string token ) : System.Web.Mvc.ActionResult
Comment ( ) : System.Web.Mvc.ActionResult
Comment ( int id, string token, Comment com ) : System.Web.Mvc.ActionResult
Details ( ) : System.Web.Mvc.ActionResult
GetFavorites ( ) : System.Web.Mvc.ActionResult
LocalisationController ( Dummy d ) : System
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult
Search ( ) : System.Web.Mvc.ActionResult

Method Details

Details() public method

Get action method to get localisation details
public Details ( int id ) : System.Web.Mvc.ActionResult
id int localisation id
return System.Web.Mvc.ActionResult

GetFavorites() public method

Get action method to get localisation details
public GetFavorites ( string token ) : System.Web.Mvc.ActionResult
token string
return System.Web.Mvc.ActionResult

LocalisationController() public method

public LocalisationController ( ILogger logger, ISearchService searchService, IGeocodeService geocodeService ) : System
logger ILogger
searchService ISearchService
geocodeService IGeocodeService
return System

Search() public method

get action result to search for localisation, for given criteria
public Search ( SearchCriteriaApi critariaApi ) : System.Web.Mvc.ActionResult
critariaApi SearchCriteriaApi
return System.Web.Mvc.ActionResult