Beispiel #1
0
 public IActionResult Put([FromBody] Order order)
 {
     if (order == null)
     {
         return(BadRequest());
     }
     _repo.Edit(order);
     return(Ok());
 }