public ActionResult RemoveProduct(int id) { //int userID = userService.Get(CurrentUserLoginName).ID; //orderService.RemoveProductFromShoppingCard(userID, productID: id); ambrella.RemoveProduct(id); return(RedirectToAction("Index")); }
public bool PostRemoveProduct(int id) { //int userID = userService.Get(CurrentUserLoginName).ID; //return orderService.RemoveProductFromShoppingCard(userID, productID: id); return(ambrella.RemoveProduct(id)); }