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