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