Update `IndexOption` to `Index`
The first `IndexOption` reference in the article is changed to `Index.` The second reference stays intact and is correct.pull/8857/head
parent
caf620ebec
commit
8ba0f07c5c
|
@ -407,7 +407,7 @@ Sample:
|
|||
|
||||
The `Index` method initializes the `CountryViewModel`, sets the selected country and passes it to the `Index` view.
|
||||
|
||||
[!code-csharp[](working-with-forms/sample/final/Controllers/HomeController.cs?range=114-119)]
|
||||
[!code-csharp[](working-with-forms/sample/final/Controllers/HomeController.cs?range=8-13)]
|
||||
|
||||
The HTTP POST `Index` method displays the selection:
|
||||
|
||||
|
|
Loading…
Reference in New Issue