@model BookStore_DataAccess.model.Book

@{
    ViewBag.Title = "Details_Admin";
}

<h2>Details Admin</h2>

<div>
    <h4>Book</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.BookTitle)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.BookTitle)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.BookPrice)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.BookPrice)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.BookImg)
        </dt>

        <dd>
            <img src="@Url.Content(@Model.BookImg)" alt="Photo" width="250px" />
        </dd>


    </dl>
</div>
<p>
    @Html.ActionLink("Edit", "EditBook", new { id = Model.BookId }) |
    @Html.ActionLink("Back to List", "Index_Admin")
</p>
