C# Class App.Core.Controllers.AccountsController

Inheritance: Controller
Mostra file Open project: tylermercier/mvc_template

Public Methods

Method Description
AccountsController ( IRepository repository ) : System.Web.Mvc
Create ( Account account ) : System.Web.Mvc.ActionResult
Destroy ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( int page = 1 ) : System.Web.Mvc.ViewResult
New ( ) : System.Web.Mvc.ActionResult
Show ( int id ) : System.Web.Mvc.ViewResult
Update ( Account account ) : System.Web.Mvc.ActionResult

Method Details

AccountsController() public method

public AccountsController ( IRepository repository ) : System.Web.Mvc
repository IRepository
return System.Web.Mvc

Create() public method

public Create ( Account account ) : System.Web.Mvc.ActionResult
account Account
return System.Web.Mvc.ActionResult

Destroy() public method

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

Edit() public method

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

Index() public method

public Index ( int page = 1 ) : System.Web.Mvc.ViewResult
page int
return System.Web.Mvc.ViewResult

New() public method

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

Show() public method

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

Update() public method

public Update ( Account account ) : System.Web.Mvc.ActionResult
account Account
return System.Web.Mvc.ActionResult