@model PostgreSqlDotnetCore.Models.JobsClass @{ ViewBag.Title = "Create"; }

Create

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

JobsClass


@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.description, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.description, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.description, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.predictedsalery, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.predictedsalery, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.predictedsalery, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.vetcentersid, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.vetcentersid, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.vetcentersid, "", new { @class = "text-danger" })

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