C# Class NYCJobsWeb.Controllers.HomeController

Inheritance: Controller
Show file Open project: Azure-Samples/search-dotnet-asp-net-mvc-jobs

Public Methods

Method Description
Index ( ) : System.Web.Mvc.ActionResult
JobDetails ( ) : System.Web.Mvc.ActionResult
LookUp ( string id ) : System.Web.Mvc.ActionResult
Search ( string q = "", string businessTitleFacet = "", string postingTypeFacet = "", string salaryRangeFacet = "", string sortType = "", double lat = 40.736224, double lon = -73.99251, int currentPage, int zipCode = 10001, int maxDistance ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Suggest ( string term, bool fuzzy = true ) : System.Web.Mvc.ActionResult

Method Details

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

JobDetails() public method

public JobDetails ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

LookUp() public method

public LookUp ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Search() public method

public Search ( string q = "", string businessTitleFacet = "", string postingTypeFacet = "", string salaryRangeFacet = "", string sortType = "", double lat = 40.736224, double lon = -73.99251, int currentPage, int zipCode = 10001, int maxDistance ) : System.Web.Mvc.ActionResult
q string
businessTitleFacet string
postingTypeFacet string
salaryRangeFacet string
sortType string
lat double
lon double
currentPage int
zipCode int
maxDistance int
return System.Web.Mvc.ActionResult