From 605dc99d241b6d955432bcd42c0178e6e6a212fd Mon Sep 17 00:00:00 2001 From: Bader Nasser Al-Hashmi Date: Thu, 31 Aug 2017 18:30:28 +0400 Subject: [PATCH] Highlight modified line (#4165) --- aspnetcore/data/ef-mvc/update-related-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/data/ef-mvc/update-related-data.md b/aspnetcore/data/ef-mvc/update-related-data.md index fa51bd112c4a..248aadabc92d 100644 --- a/aspnetcore/data/ef-mvc/update-related-data.md +++ b/aspnetcore/data/ef-mvc/update-related-data.md @@ -187,7 +187,7 @@ The code in the `PopulateAssignedCourseData` method reads through all Course ent Next, add the code that's executed when the user clicks **Save**. Replace the `EditPost` method with the following code, and add a new method that updates the `Courses` navigation property of the Instructor entity. -[!code-csharp[Main](intro/samples/cu/Controllers/InstructorsController.cs?highlight=3,12,13,25,39-40&name=snippet_EditPostCourses)] +[!code-csharp[Main](intro/samples/cu/Controllers/InstructorsController.cs?highlight=1,3,12,13,25,39-40&name=snippet_EditPostCourses)] [!code-csharp[Main](intro/samples/cu/Controllers/InstructorsController.cs?name=snippet_UpdateCourses&highlight=1-31)]