예제 #1
0
 public ApiOrder Put([FromBody] ApiOrder apiOrder)
 {
     try
     {
         int?id = apiOrder.OrderID;
         apiOrder = service.Update(id, apiOrder);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     return(new ApiOrder());
 }