Fixed incorrect highlighting

The line I added (line 18) has changed from the scaffolding implementation and needs to be highlighted as well.
pull/7731/head
Kirk Munro 2018-07-21 14:32:37 -03:00 committed by GitHub
parent 8dcc979dc6
commit b0d995d977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,19-99)]
[!code-csharp[](intro/samples/cu/Pages/Instructors/Index1.cshtml.cs?name=snippet_all&highlight=2,18-99)]
The `OnGetAsync` method accepts optional route data for the ID of the selected instructor.