From 8bd45d3daad967d58177b00c5013c55860e962fe Mon Sep 17 00:00:00 2001 From: Melinda Schmitz Date: Fri, 22 Sep 2017 14:29:58 -0500 Subject: [PATCH] Update implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application.md --- ...y-and-unit-of-work-patterns-in-an-asp-net-mvc-application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application.md b/aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application.md index 0b06d83afdc8..eff51904867c 100644 --- a/aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application.md +++ b/aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application.md @@ -144,7 +144,7 @@ In the original version of the code, `students` is typed as an `IQueryable` obje The following section shows how to implement repository methods that enable you to specify that this work should be done by the database. -You've now created an abstraction layer between the controller and the Entity Framework database context. If you were going to perform automated unit testing with this application, you could create an alternative repository class in a unit test project that implements `IStudentRepository`*.*Instead of calling the context to read and write data, this mock repository class could manipulate in-memory collections in order to test controller functions. +You've now created an abstraction layer between the controller and the Entity Framework database context. If you were going to perform automated unit testing with this application, you could create an alternative repository class in a unit test project that implements `IStudentRepository`*.* Instead of calling the context to read and write data, this mock repository class could manipulate in-memory collections in order to test controller functions. ## Implement a Generic Repository and a Unit of Work Class