C# Class PetStore.Web.Controllers.ProductController

Inheritance: BaseSiteController
Exibir arquivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Details ( int productid ) : void
List ( ) : void
ListByCategory ( int category ) : void
ProductController ( CategoryService categoryService, IProductService productService ) : PetStore.Service

Private Methods

Method Description
AddCategoriesToPropertyBag ( ) : void

Method Details

Details() public method

public Details ( int productid ) : void
productid int
return void

List() public method

public List ( ) : void
return void

ListByCategory() public method

public ListByCategory ( int category ) : void
category int
return void

ProductController() public method

public ProductController ( CategoryService categoryService, IProductService productService ) : PetStore.Service
categoryService PetStore.Service.CategoryService
productService IProductService
return PetStore.Service