diff --git a/aspnetcore/data/ef-rp/read-related-data.md b/aspnetcore/data/ef-rp/read-related-data.md index 30586e3649..2e8355f9d8 100644 --- a/aspnetcore/data/ef-rp/read-related-data.md +++ b/aspnetcore/data/ef-rp/read-related-data.md @@ -163,7 +163,7 @@ Run the app and navigate to the instructors page. Replace *Pages/Instructors/Index.cshtml.cs* with the following code: -[!code-csharp[](intro/samples/cu/Pages/Instructors/Index1.cshtml.cs?name=snippet_all&highlight=2,20-99)] +[!code-csharp[](intro/samples/cu/Pages/Instructors/Index1.cshtml.cs?name=snippet_all&highlight=2,19-99)] The `OnGetAsync` method accepts optional route data for the ID of the selected instructor.