Skip to content

Commit

Permalink
Update first-web-api.md (#21556)
Browse files Browse the repository at this point in the history
Fixed grammar
  • Loading branch information
mrlife authored Feb 17, 2021
1 parent 2186f92 commit 6158f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/tutorials/first-web-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ When the `[action]` token isn't in the route template, the [action](xref:mvc/con

## Update the PostTodoItem create method

Replace the return statement in the `PostTodoItem` to use the [nameof](/dotnet/csharp/language-reference/operators/nameof) operator:
Update the return statement in the `PostTodoItem` to use the [nameof](/dotnet/csharp/language-reference/operators/nameof) operator:

[!code-csharp[](first-web-api/samples/5.x/TodoApi/Controllers/TodoItemsController.cs?name=snippet_Create)]

Expand Down

0 comments on commit 6158f1d

Please sign in to comment.