C# Class DISamples.NoLayers.Controllers.ProductController

Inheritance: Controller
Show file Open project: dpdonahue/What-Is-Dependency-Injection-

Public Methods

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

Private Methods

Method Description
Edit ( Product product ) : System.Web.Mvc.ActionResult

Method Details

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