C# Class ShameTheThrones.Controllers.RestroomController

Inheritance: Controller
Mostra file Open project: jasekiw/ShameTheThrones Class Usage Examples

Public Methods

Method Description
Index ( int id ) : System.Web.Mvc.ActionResult
Ratings ( ) : System.Web.Mvc.ActionResult
Search ( RestroomSearchModel search ) : System.Web.Mvc.ActionResult
Show ( int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Add ( ) : System.Web.Mvc.ActionResult
New ( RestroomModel restroom ) : System.Web.Mvc.ActionResult
NewRating ( RatingModel ratingModel ) : System.Web.Mvc.ActionResult
Rate ( int id ) : System.Web.Mvc.ActionResult

Method Details

Index() public method

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

Ratings() public method

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

Search() public method

public Search ( RestroomSearchModel search ) : System.Web.Mvc.ActionResult
search ShameTheThrones.Models.RestroomSearchModel
return System.Web.Mvc.ActionResult

Show() public method

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