@model PostgreSqlDotnetCore.Models.UsersClass @{ ViewBag.Title = "Edit"; }

Edit

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

CustomerClass


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.id)
@Html.LabelFor(model => model.name, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.name, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.name, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.lastname, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.lastname, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.lastname, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.email, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.email, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.email, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.number, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.number, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.number, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.role_id, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.role_id, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.role_id, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.jobs_id, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.jobs_id, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.jobs_id, "", new { @class = "text-danger" })

}
@Html.ActionLink("Back to List", "Index")