From 59c244b309a8a9939606943bd169dc08c8cee452 Mon Sep 17 00:00:00 2001 From: Kirk Munro Date: Sun, 22 Jul 2018 17:06:04 -0300 Subject: [PATCH] Fixed highlighted line numbers --- aspnetcore/data/ef-rp/read-related-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/data/ef-rp/read-related-data.md b/aspnetcore/data/ef-rp/read-related-data.md index 2e8355f9d8..21601a9968 100644 --- a/aspnetcore/data/ef-rp/read-related-data.md +++ b/aspnetcore/data/ef-rp/read-related-data.md @@ -293,7 +293,7 @@ Refresh the page and select an instructor. Select a course to see the list of en The `Single` method can pass in the `Where` condition instead of calling the `Where` method separately: -[!code-csharp[](intro/samples/cu/Pages/Instructors/IndexSingle.cshtml.cs?name=snippet_single&highlight=21,28-29)] +[!code-csharp[](intro/samples/cu/Pages/Instructors/IndexSingle.cshtml.cs?name=snippet_single&highlight=21-22,30-31)] The preceding `Single` approach provides no benefits over using `Where`. Some developers prefer the `Single` approach style.