C# Class Suteki.Shop.Controllers.ProductController

Inheritance: ControllerBase
Afficher le fichier Open project: mikehadlow/sutekishop Class Usage Examples

Méthodes publiques

Méthode Description
Category ( string urlName ) : System.Web.Mvc.ActionResult
GetControllerName ( ) : string
Index ( int id ) : System.Web.Mvc.ActionResult
Item ( string urlName ) : System.Web.Mvc.ActionResult
ProductController ( IRepository productRepository, IRepository categoryRepository, IOrderableService productOrderableService, IUserService userService, IUnitOfWorkManager uow, IProductBuilder productBuilder ) : System.Collections
RootCategory ( ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
ClearSizes ( int id ) : System.Web.Mvc.ActionResult
Edit ( Suteki.Shop.ViewData.ProductViewData productViewData ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
MoveDown ( int id, int position ) : System.Web.Mvc.ActionResult
MoveUp ( int id, int position ) : System.Web.Mvc.ActionResult
New ( Suteki.Shop.ViewData.ProductViewData productViewData ) : System.Web.Mvc.ActionResult
New ( int id ) : System.Web.Mvc.ActionResult
RenderEditView ( int id ) : System.Web.Mvc.ActionResult
RenderIndexView ( Category category ) : System.Web.Mvc.ActionResult
RenderIndexView ( int id ) : System.Web.Mvc.ActionResult
RenderIndexView ( string urlName ) : System.Web.Mvc.ActionResult
RenderItemView ( string urlName ) : System.Web.Mvc.ActionResult

Method Details

Category() public méthode

public Category ( string urlName ) : System.Web.Mvc.ActionResult
urlName string
Résultat System.Web.Mvc.ActionResult

GetControllerName() public méthode

public GetControllerName ( ) : string
Résultat string

Index() public méthode

public Index ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

Item() public méthode

public Item ( string urlName ) : System.Web.Mvc.ActionResult
urlName string
Résultat System.Web.Mvc.ActionResult

ProductController() public méthode

public ProductController ( IRepository productRepository, IRepository categoryRepository, IOrderableService productOrderableService, IUserService userService, IUnitOfWorkManager uow, IProductBuilder productBuilder ) : System.Collections
productRepository IRepository
categoryRepository IRepository
productOrderableService IOrderableService
userService IUserService
uow IUnitOfWorkManager
productBuilder IProductBuilder
Résultat System.Collections

RootCategory() public méthode

public RootCategory ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult