@model LibraryManagement.Shared.Models.BookCreateRequest @{ ViewData["Title"] = "Add New Book"; }
Back to Catalog

Add New Book

Fill in the details below to add a new book to the library catalog.

@{ var allCategories = ViewBag.Categories as IEnumerable; } @if (allCategories != null && allCategories.Any()) {
@foreach (var cat in allCategories) { }
} else {

No categories available. Add some first.

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