C# Class TrufflerSample.Controllers.AutocompleteController

Inheritance: Controller
Show file Open project: 200OK/TrufflerSample

Public Methods

Method Description
AutocompleteController ( IClient client ) : System
Index ( string q ) : System.Web.Mvc.ActionResult
Prefix ( string term ) : System.Web.Mvc.JsonResult

Method Details

AutocompleteController() public method

public AutocompleteController ( IClient client ) : System
client IClient
return System

Index() public method

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

Prefix() public method

public Prefix ( string term ) : System.Web.Mvc.JsonResult
term string
return System.Web.Mvc.JsonResult