From a95fb6efb6e2dfba145f586239eaecce2869ef9d Mon Sep 17 00:00:00 2001 From: Erik McKelvey Date: Wed, 27 Sep 2023 15:02:58 -0700 Subject: [PATCH] typo: webapi.md --- aspnetcore/migration/webapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/migration/webapi.md b/aspnetcore/migration/webapi.md index fd1d5c94c3..fe337e10e5 100644 --- a/aspnetcore/migration/webapi.md +++ b/aspnetcore/migration/webapi.md @@ -298,7 +298,7 @@ Configure routing as follows: Attribute routing supports tokens, such as `[controller]` and `[action]`. At runtime, each token is replaced with the name of the controller or action, respectively, to which the attribute has been applied. The tokens: * Reduce the number of magic strings in the project. * Ensure routes remain synchronized with the corresponding controllers and actions when automatic rename refactorings are applied. -1. Enable HTTP Get requests to the `ProductController` actions: +1. Enable HTTP Get requests to the `ProductsController` actions: * Apply the [`[HttpGet]`](xref:Microsoft.AspNetCore.Mvc.HttpGetAttribute) attribute to the `GetAllProducts` action. * Apply the `[HttpGet("{id}")]` attribute to the `GetProduct` action.