@page "/books" @using LibraryManagement.Shared.Models @using BlazorWebAssembly.Services @using Microsoft.AspNetCore.Authorization @inject LibraryApiClient ApiClient @inject WishlistService WishlistService @inject IJSRuntime JS @inject NavigationManager Navigation
Discover your next favorite story among our curated selection. (@FilteredBooks.Count() total)
Try adjusting your search or filters.
@book.Author
by @_selectedBook.Author
@(string.IsNullOrEmpty(_selectedBook.Description) ? "No description available for this book." : _selectedBook.Description)
@_selectedBook.Isbn
@(_selectedBook.AvailableCopies > 0 ? $"{_selectedBook.AvailableCopies} / {_selectedBook.TotalCopies} units in stock" : "Currently occupied")
Fill in the details below to @(_viewMode == ViewMode.Create ? "add a new book to" : "update the") library catalog.