@page @model ShoppingAssistantWebClient.Web.Pages.WishlistModel @{ //Layout = null; }

My Wishlist

@if(!(Model.wishlist is null)) { @foreach (var item in Model.wishlist) { }
Chat name Type Time
@Html.DisplayFor(modelItem => item.Name) @Html.DisplayFor(modelItem => item.Type) @Html.DisplayFor(modelItem => item.Date)
} else {

You don't have a wishlist

}