Esempio n. 1
0
 public async Task <IActionResult> Post([FromBody] ToDoItem action)
 {
     return(CreatedAtAction("Get", new { id = action.Id }, userService.Create(action)));
 }