Beispiel #1
0
 public IActionResult Edit(Persons model)
 {
     _personsService.Update(model);
     return(RedirectToAction("List"));
 }
 public Person Put(int id, [FromBody] Person value)
 {
     return(personsService.Update(id, value));
 }