Exemplo n.º 1
0
 public async Task <IActionResult> Patch(int id, [FromBody] ToDoItem action)
 {
     userService.ChangeState(id, action);
     return(NoContent());
 }