@model MALDFGASSURANCE.Models.AspNetUserRoles @{ ViewBag.Title = "Edit"; }

Edit

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

AspNetUserRoles


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.ID)
@Html.LabelFor(model => model.UserId, "UserId", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("UserId", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.UserId, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.RoleId, "RoleId", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("RoleId", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.RoleId, "", new { @class = "text-danger" })
}
@Html.ActionLink("Back to List", "Index")