public IActionResult DeleteCartItem(string Cartid)
 {
     try
     {
         _repo.DeleteCartItem(Cartid);
         return(Ok());
     }
     catch (Exception e)
     {
         return(NotFound(e.InnerException.Message));
     }
 }
예제 #2
0
 public IActionResult DeleteCartItem(string cartid)
 {
     try
     {
         _repo.DeleteCartItem(cartid);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(NotFound(ex.Message));
     }
 }