shopping-assistant-web-client/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor.cs
2023-10-29 06:01:28 +00:00

24 lines
736 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Microsoft.AspNetCore.Components;
using ShoppingAssistantWebClient.Web.Models;
namespace ShoppingAssistantWebClient.Web.Shared
{
public partial class NavMenu : ComponentBase
{
public List<Wishlist> Wishlists = new()
{
new Wishlist {Id = "0", Name = "Gift for Jessica", Type="product", CreateById="0"},
new Wishlist {Id = "1", Name = "Secret Santa", Type="gift", CreateById="1"},
new Wishlist {Id = "2", Name = "Marks Birthday", Type="product", CreateById="2"}
};
protected override async Task OnInitializedAsync()
{
// Get data from Back-end
}
}
}