Updated code link to include closing brace.

pull/2257/head
Mike Kinney 2016-11-27 18:08:44 -08:00 committed by GitHub
parent 35ee38b03b
commit f7982106fe
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ There's no `[HttpPost]` overload of the `Index` method as you might expect. You
You could add the following `[HttpPost] Index` method.
[!code-csharp[Main](./start-mvc/sample2/src/MvcMovie/Controllers/MoviesController.cs?highlight=1&range=294-298)]
[!code-csharp[Main](./start-mvc/sample2/src/MvcMovie/Controllers/MoviesController.cs?highlight=1&range=294-299)]
The `notUsed` parameter is used to create an overload for the `Index` method. We'll talk about that later in the tutorial.