@inherits LayoutComponentBase @inject NavigationManager Navigation
YOUR CART (@CartItems.Sum(i => i.Quantity))
@if (!CartItems.Any()) {
Your collection is empty.
} else {
@foreach (var item in CartItems) {
[ COVER ]
@item.Title

by @item.Author

@item.Quantity
R @(item.Price * item.Quantity)
}
}
@if (CartItems.Any()) { }
@Body