@model MvcApplication4.Sample
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<fieldset>
<legend>Sample</legend>
<div class="display-label">
@Html.DisplayNameFor(model => model.SampleName)
</div>
<div class="display-field">
@Html.DisplayFor(model => model.SampleName)
</div>
<div class="display-label">
@Html.DisplayNameFor(model => model.SampleValue)
</div>
<div class="display-field">
@Html.DisplayFor(model => model.SampleValue)
</div>
</fieldset>
@using (Html.BeginForm()) {
<p>
<input type="submit" value="Delete" /> |
@Html.ActionLink("Back to List", "Index")
</p>
}
Dosyayı İndir