public IActionResult DeleteCartItem(int productId) { _productrepository.DeleteCartItem(productId); return(RedirectToAction(nameof(ViewCart))); }
public IActionResult DeleteCartItem(int productId) { _productrepository.DeleteCartItem(productId); return(RedirectToAction(nameof(ViewCart))); }