From 0b327ba7b4bbc010974b1c730cd8ad2eb210d5d0 Mon Sep 17 00:00:00 2001 From: dougbu Date: Fri, 9 May 2014 10:34:54 -0700 Subject: [PATCH] Use `BeginForm()` in MVC sample --- samples/MvcSample.Web/Views/Shared/MyView.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)