C# Class Main.Controllers.CategoriesController

Inheritance: Controller
Datei anzeigen Open project: SamKirkland/I-Have-I-Need Class Usage Examples

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( [ Include = "CategoryID,CategoryName")]Categorycategory ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( [ Include = "CategoryID,CategoryName")]Categorycategory ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

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

Delete() public method

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

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Edit() public method

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

Index() public method

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