diff --git a/samples/MvcSample.Web/Views/Shared/MyView.cshtml b/samples/MvcSample.Web/Views/Shared/MyView.cshtml index 6f4ae4fb6e..d3662dbdf8 100644 --- a/samples/MvcSample.Web/Views/Shared/MyView.cshtml +++ b/samples/MvcSample.Web/Views/Shared/MyView.cshtml @@ -150,7 +150,7 @@

'@ViewBag.Title' should match page heading (still)

- @using (Html.BeginForm(controllerName: "Home", actionName: "Hello", method: FormMethod.Post)) + @using (Html.BeginForm()) { @Html.HiddenFor(m => m.Age)