Highlight one more line
This line originally generated is `public IList<Instructor> Instructor { get;set; }` and gets changed to `public InstructorIndexData Instructor { get; set; }` so it's worth highlighting, I feelpull/7712/head
parent
82325bfbf9
commit
4ab4af6ef7
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue