@model MusicStore.Models.Album

@{
    ViewBag.Title = "Delete";
}

@if (Model != null)
{
    <h2>Delete Confirmation</h2>

    <p>
        Are you sure you want to delete the album titled
        <strong>@Model.Title</strong>?
    </p>

    @using (Html.BeginForm())
    {
        <p>
            <input type="submit" value="Delete" />
        </p>
        <p>
            @Html.ActionLink("Back to List", "Index")
        </p>
    }
}
else
{
    @Html.Label(null, "Unable to locate the album")
}