Y2S1-Web_Apps_and_Services/ThAmCo.Events/Views/Customers/Delete.cshtml
2020-06-07 22:36:12 +01:00

45 lines
1.1 KiB
Plaintext

@model ThAmCo.Events.Data.Customer
@{
ViewData["Title"] = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Customer</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Surname)
</dt>
<dd>
@Html.DisplayFor(model => model.Surname)
</dd>
<dt>
@Html.DisplayNameFor(model => model.FirstName)
</dt>
<dd>
@Html.DisplayFor(model => model.FirstName)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Email)
</dt>
<dd>
@Html.DisplayFor(model => model.Email)
</dd>
</dl>
<form asp-action="Delete">
<input type="hidden" asp-for="Id" />
<input type="submit" value="Delete" class="btn btn-default" />
</form>
<form asp-action="AnonDelete">
<input type="hidden" asp-for="Id" />
<input type="submit" value="Delete Anonymously" class="btn btn-default" /> |
<a asp-action="Index">Back to List</a>
</form>
</div>