/MvcMusicStore/Views/StoreManager/Delete.cshtml

# · Razor · 21 lines · 16 code · 5 blank · 0 comment · 0 complexity · bd1b580b5611f94e63e87a9db169bc55 MD5 · raw file

  1. @model MvcMusicStore.Models.Album
  2. @{
  3. ViewBag.Title = "Delete";
  4. }
  5. <h2>Delete Confirmation</h2>
  6. <p>Are you sure you want to delete the album titled
  7. <strong>@Model.Title</strong>?
  8. </p>
  9. @using (Html.BeginForm()) {
  10. <p>
  11. <input type="submit" value="Delete" />
  12. </p>
  13. <p>
  14. @Html.ActionLink("Back to List", "Index")
  15. </p>
  16. }