From 4144f196c4cc69ad0703712523c471cd149b7c5f Mon Sep 17 00:00:00 2001 From: Bader Nasser Al-Hashmi Date: Tue, 5 Sep 2017 18:23:20 +0400 Subject: [PATCH] Remove redundant word (#4184) (the code sends sends an error) --- aspnetcore/data/ef-mvc/concurrency.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/data/ef-mvc/concurrency.md b/aspnetcore/data/ef-mvc/concurrency.md index f84031e553..ccaa5bc646 100644 --- a/aspnetcore/data/ef-mvc/concurrency.md +++ b/aspnetcore/data/ef-mvc/concurrency.md @@ -212,7 +212,7 @@ In *DepartmentController.cs*, replace the HttpGet `Delete` method with the follo [!code-csharp[Main](intro/samples/cu/Controllers/DepartmentsController.cs?name=snippet_DeleteGet&highlight=1,14-17,21-29)] -The method accepts an optional parameter that indicates whether the page is being redisplayed after a concurrency error. If this flag is true and the department specified no longer exists, it was deleted by another user. In that case, the code redirects to the Index page. If this flag is true and the Department does exist, it was changed by another user. In that case, the code sends sends an error message to the view using `ViewData`. +The method accepts an optional parameter that indicates whether the page is being redisplayed after a concurrency error. If this flag is true and the department specified no longer exists, it was deleted by another user. In that case, the code redirects to the Index page. If this flag is true and the Department does exist, it was changed by another user. In that case, the code sends an error message to the view using `ViewData`. Replace the code in the HttpPost `Delete` method (named `DeleteConfirmed`) with the following code: