ID parameter corrected to Id (#1714)

pull/1716/head
Aftab Ansari 2016-07-25 23:31:21 +05:30 committed by Rick Anderson
parent 6d28aac839
commit 3b842126ae
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Controller methods and views
Controller methods and views
=================================================
By `Rick Anderson`_
@ -63,7 +63,7 @@ Recall the format for routing set in the *Startup.cs* file.
:start-after: app.UseIdentity();
:end-before: SeedData.Initialize(app.ApplicationServices);
ASP.NET Core translates ``http://localhost:1234/Movies/Edit/4`` into a request to the ``Edit`` action method of the ``Movies`` controller with the parameter ``ID`` of 4. (Controller methods are also known as action methods.)
ASP.NET Core translates ``http://localhost:1234/Movies/Edit/4`` into a request to the ``Edit`` action method of the ``Movies`` controller with the parameter ``Id`` of 4. (Controller methods are also known as action methods.)
:doc:`/mvc/views/tag-helpers/index` are one of the most popular new features in ASP.NET Core. See `Additional resources`_ for more information.