C# Class WebShop.Controllers.ShopController

Inheritance: Controller
显示文件 Open project: henriksen/TDDWorkshop

Public Methods

Method Description
Index ( ) : System.Web.Mvc.ViewResult
ShopController ( ) : System
ShopController ( IProductRepository productRepository ) : System

Private Methods

Method Description
AddToCart ( int id ) : System.Web.Mvc.ActionResult
ClearCart ( ) : System.Web.Mvc.ActionResult

Method Details

Index() public method

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

ShopController() public method

public ShopController ( ) : System
return System

ShopController() public method

public ShopController ( IProductRepository productRepository ) : System
productRepository IProductRepository
return System