Created
May 12, 2016 14:08
-
-
Save Rookian/cdabba5114935cf22a81a8f9a2bf7023 to your computer and use it in GitHub Desktop.
Razor View
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using (Html.BeginForm("Test", "Home", FormMethod.Post)) | |
{ | |
@Html.TextBoxFor(x => x.Command.Name) | |
@Html.HiddenFor(x => x.Command.Id) | |
<input type="submit" value="Submit"/> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment