예제 #1
0
 public ActionResult PatriallyUpdateClient(int Id, JsonPatchDocument <OrderItemForUpdate> patchDocument)
 {
     try
     {
         _OrderItemService.EditOrderItem(Id, patchDocument);
         return(NoContent());
     }
     catch (NotFoundException)
     {
         return(NotFound("Jason parameters are not Correct or this OrdrItem Id does not exist."));
     }
 }