C# Class SpringMvc.Controllers.MainShopController

Inheritance: Controller
Datei anzeigen Open project: krzysiuk12/SpringMvc

Private Properties

Property Type Description
MapCategoryNameToShopSecondaryPosition int
SetCurrentMenuPositions void

Public Methods

Method Description
AddToShoppingCart ( long productId, int amount ) : System.Web.Mvc.ActionResult
BookDetails ( long booktypeId ) : System.Web.Mvc.ActionResult
CategoryBooksView ( string name ) : System.Web.Mvc.ActionResult
GetBooksByCategory ( string name ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
SubmitOrder ( ) : System.Web.Mvc.ActionResult
UserOrdersView ( ) : System.Web.Mvc.ActionResult
YourCart ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
MapCategoryNameToShopSecondaryPosition ( string name ) : int
SetCurrentMenuPositions ( int primaryMenuPosition, int secondaryMenuPosition = null ) : void

Method Details

AddToShoppingCart() public method

public AddToShoppingCart ( long productId, int amount ) : System.Web.Mvc.ActionResult
productId long
amount int
return System.Web.Mvc.ActionResult

BookDetails() public method

public BookDetails ( long booktypeId ) : System.Web.Mvc.ActionResult
booktypeId long
return System.Web.Mvc.ActionResult

CategoryBooksView() public method

public CategoryBooksView ( string name ) : System.Web.Mvc.ActionResult
name string
return System.Web.Mvc.ActionResult

GetBooksByCategory() public method

public GetBooksByCategory ( string name ) : System.Web.Mvc.ActionResult
name string
return System.Web.Mvc.ActionResult

Index() public method

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

SubmitOrder() public method

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

UserOrdersView() public method

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

YourCart() public method

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