@model WebApplication1.Models.response @{ ViewBag.Title = "Create"; }

Create

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

response


@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.title, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.title, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.title, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.content, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.content, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.content, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.adminid, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.adminid, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.adminid, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ticketid, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.ticketid, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ticketid, "", new { @class = "text-danger" })
}
@Html.ActionLink("Back to List", "Index")