C# Class NerdDinner.Controllers.DinnersController

Inheritance: Controller
Show file Open project: NadeemAfana/NerdDinner-Internationalization Class Usage Examples

Public Methods

Method Description
Details ( int id ) : System.Web.Mvc.ActionResult
DinnersController ( ) : System
DinnersController ( IDinnerRepository repository ) : System
Index ( string q, int page ) : System.Web.Mvc.ActionResult
Lost ( ) : System.Web.Mvc.ActionResult
Trouble ( ) : System.Web.Mvc.ActionResult
WebSlicePopular ( ) : System.Web.Mvc.ActionResult
WebSliceUpcoming ( ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
HandleUnknownAction ( string actionName ) : void

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( NerdDinner.Models.Dinner dinner ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Delete ( int id, string confirmButton ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id, System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.ActionResult
My ( ) : System.Web.Mvc.ActionResult

Method Details

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

DinnersController() public method

public DinnersController ( ) : System
return System

DinnersController() public method

public DinnersController ( IDinnerRepository repository ) : System
repository IDinnerRepository
return System

HandleUnknownAction() protected method

protected HandleUnknownAction ( string actionName ) : void
actionName string
return void

Index() public method

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

Lost() public method

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

Trouble() public method

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

WebSlicePopular() public method

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

WebSliceUpcoming() public method

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