C# Class RavenMVCProducts.Controllers.ProductController

Inheritance: RavenController
Mostra file Open project: gsuttie/RavenMVCProducts

Public Methods

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

Get all the products that are available for sale (discontinued equal to false) ordered by the product’s list price

GetProduct ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
InsertSomeMoreProducts ( ) : System.Web.Mvc.ActionResult
LoadAndUpdateProduct ( ) : System.Web.Mvc.ActionResult
StoreSomeProductInDatabase ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( Product product ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( string id ) : System.Web.Mvc.ActionResult
Edit ( Product product ) : 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

DeleteProduct() public method

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

Details() public method

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

Edit() public method

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

GetDiscontinuedProducts() public method

Get all the products that are available for sale (discontinued equal to false) ordered by the product’s list price
public GetDiscontinuedProducts ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

GetProduct() public method

public GetProduct ( 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

InsertSomeMoreProducts() public method

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

LoadAndUpdateProduct() public method

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

StoreSomeProductInDatabase() public method

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