From 6cef2ebef742d6894b85cec5c50d4f5d34991814 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Sat, 27 Jan 2018 10:31:41 -1000 Subject: [PATCH] Update getTodoItems.md (#5293) --- aspnetcore/includes/webApi/getTodoItems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/includes/webApi/getTodoItems.md b/aspnetcore/includes/webApi/getTodoItems.md index 90c7ba5584..491a3eaf4d 100644 --- a/aspnetcore/includes/webApi/getTodoItems.md +++ b/aspnetcore/includes/webApi/getTodoItems.md @@ -39,7 +39,7 @@ The `[HttpGet]` attribute specifies an HTTP GET method. The URL path for each me [!code-csharp[Main](../../tutorials/first-web-api/sample/TodoApi/Controllers/TodoController.cs?name=TodoController&highlight=3)] -* Replace `[controller]` with the name of the controller, which is the controller class name minus the "Controller" suffix. For this sample, the controller class name is **Todo**Controller and the root name is "todo". ASP.NET Core [routing](xref:mvc/controllers/routing) isn't case sensitive. +* Replaces `[controller]` with the name of the controller, which is the controller class name minus the "Controller" suffix. For this sample, the controller class name is **Todo**Controller and the root name is "todo". ASP.NET Core [routing](xref:mvc/controllers/routing) isn't case sensitive. * If the `[HttpGet]` attribute has a route template (such as `[HttpGet("/products")]`, append that to the path. This sample doesn't use a template. See [Attribute routing with Http[Verb] attributes](xref:mvc/controllers/routing#attribute-routing-with-httpverb-attributes) for more information. In the `GetById` method: