C# Class Car4U.Controllers.PromotionsController

Inheritance: Controller
Show file Open project: ajrgoncalves/Car4U

Public Methods

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( [ Include = "id,Description,Percentage,Days")]Promotionpromotion ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( string id ) : System.Web.Mvc.ActionResult
Edit ( [ Include = "id,Description,Percentage,Days")]Promotionpromotion ) : 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 ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Details() public method

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

Dispose() protected method

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

Edit() public method

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

Index() public method

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