We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8c19b commit 6ca6a56Copy full SHA for 6ca6a56
aspnetcore/includes/webApi/end.md
@@ -37,7 +37,7 @@ You can use the Location header URI to access the resource you just created. Rec
37
38
```csharp
39
[HttpGet("{id}", Name = "GetTodo")]
40
-public IActionResult GetById(string id)
+public IActionResult GetById(long id)
41
```
42
43
### Update
@@ -54,4 +54,4 @@ public IActionResult GetById(string id)
54
55
The response is [204 (No Content)](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html).
56
57
-
+
0 commit comments