Update index.md (#25245)

Improved grammar.
pull/25236/head
the-wazz 2022-03-08 17:56:44 -05:00 committed by GitHub
parent 4d7e0cc118
commit 45eb3fc141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ ASP.NET Core supports creating web APIs using controllers or using minimal APIs.
## ControllerBase class ## ControllerBase class
A controller based web API consists of one or more controller classes that derive from <xref:Microsoft.AspNetCore.Mvc.ControllerBase>. The web API project template provides a starter controller: A controller-based web API consists of one or more controller classes that derive from <xref:Microsoft.AspNetCore.Mvc.ControllerBase>. The web API project template provides a starter controller:
[!code-csharp[](index/samples/6.x/Controllers/WeatherForecastController.cs?name=snippet_ControllerSignature&highlight=3)] [!code-csharp[](index/samples/6.x/Controllers/WeatherForecastController.cs?name=snippet_ControllerSignature&highlight=3)]