Method | Description | |
---|---|---|
DeleteShoppingCart ( string id ) : void | ||
Get ( string id ) : |
||
ShoppingCartController ( ) : System.Web.Http | ||
ShoppingCartController ( IShoppingCartRepository shoppingCartRepository, IProductRepository productRepository ) : System.Web.Http |
Method | Description | |
---|---|---|
AddProductToShoppingCart ( string id, string productIdToIncrement ) : void | ||
MergeShoppingCarts ( string id, string anonymousShoppingCartId ) : bool | ||
RemoveProductFromShoppingCart ( string id, string productIdToDecrement ) : void | ||
RemoveShoppingCartItem ( string id, string itemIdToRemove ) : void | ||
Reset ( bool resetData ) : void |
public DeleteShoppingCart ( string id ) : void | ||
id | string | |
return | void |
public Get ( string id ) : |
||
id | string | |
return |
public ShoppingCartController ( ) : System.Web.Http | ||
return | System.Web.Http |
public ShoppingCartController ( IShoppingCartRepository shoppingCartRepository, IProductRepository productRepository ) : System.Web.Http | ||
shoppingCartRepository | IShoppingCartRepository | |
productRepository | IProductRepository | |
return | System.Web.Http |