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
parent
8dcc979dc6
commit
b0d995d977
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue