@model LibraryManagement.Shared.Models.BookUpdateRequest @{ ViewData["Title"] = "Edit Book"; }
Back to Catalog

Edit Book

Update the details for this book.

@{ var allCategories = ViewBag.Categories as IEnumerable; var selectedIds = Model.CategoryIds ?? new List(); } @if (allCategories != null && allCategories.Any()) {
@foreach (var cat in allCategories) { }
} else {

No categories available. Add some first.

}
Cancel
@section Scripts { @{await Html.RenderPartialAsync("_ValidationScriptsPartial");} }