예제 #1
0
 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;
     }
 }