diff --git a/aspnetcore/tutorials/razor-pages/da1.md b/aspnetcore/tutorials/razor-pages/da1.md index 3a8b8852df..19deb6b613 100644 --- a/aspnetcore/tutorials/razor-pages/da1.md +++ b/aspnetcore/tutorials/razor-pages/da1.md @@ -60,7 +60,7 @@ Use **View Source** from your favorite browser to examine the generated markup. The dynamically-generated links pass the movie ID with a query string (for example, `http://localhost:5000/Movies/Details?id=2` ). -Update the Edit, Details, and Delete Razor Pages to use the "{id:int}" route template. Change the page directive for each of these pages to `@page "{id:int}"`. Run the app and then view source. The generated HTML adds the ID to the path portion of the URL: +Update the Edit, Details, and Delete Razor Pages to use the "{id:int}" route template. Change the page directive for each of these pages from `@page` to `@page "{id:int}"`. Run the app and then view source. The generated HTML adds the ID to the path portion of the URL: ```html