@model HelperMethods.Models.Person @{ ViewBag.Title = "CreatePerson"; Layout = "/Views/Shared/_Layout.cshtml"; }

CreatePerson

@*@{ Html.BeginForm();}*@ @using (Html.BeginRouteForm("FormRoute", new { }, FormMethod.Post, new { @class = "personClass", data_formtype = "person" })) {
@**@ @*@Html.TextBox("personId", @Model.PersonId)*@ @Html.TextBoxFor(m => m.PersonId)
@**@ @*@Html.TextBox("FirstName", @Model.FirstName)*@ @Html.TextBoxFor(m => m.FirstName)
@**@ @*@Html.TextBox("LastName", @Model.LastName)*@ @Html.TextBoxFor(m => m.LastName)
@Html.DropDownListFor(m => m.Role, new SelectList(Enum.GetNames(typeof(HelperMethods.Models.Role))))
}