public PartialViewResult EditQuantity(int CartItemId, int Quantity) { try { if (!balCustomer.EditQuantity(CartItemId, Quantity)) { TempData["Error"] = "Product out of stock..."; } return(GetCartProducts()); } catch (Exception ex) { throw ex; } }
public PartialViewResult EditQuantity(int CartItemId, int Quantity) { try { if (!balCustomer.EditQuantity(CartItemId, Quantity)) { TempData["Error"] = "Product out of stock..."; } return(GetCartProducts()); } catch (Exception ex) { throw ex; } }