Use `BeginForm()` in MVC sample

This commit is contained in:
dougbu 2014-05-09 10:34:54 -07:00
parent dd4fa762d5
commit 0b327ba7b4
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@
<p style="padding: 0px 10px;">'@ViewBag.Title' should match page heading (still)</p>
</div>
<div style="float: left; border: thick solid lightskyblue; margin: 5px; padding: 7px;">
@using (Html.BeginForm(controllerName: "Home", actionName: "Hello", method: FormMethod.Post))
@using (Html.BeginForm())
{
@Html.HiddenFor(m => m.Age)
<table>