Files
aviq-second-boilerplate/Webshop.App/Pages/Home.razor.cs
T
2026-03-22 00:29:34 +01:00

36 lines
783 B
C#

using BethanysPieShopHRM.Shared.Domain;
using Webshop.App.Components.Widgets;
namespace Webshop.App.Pages
{
public partial class Home
{
public Employee Employee { get; set; }
public List<Type> Widgets { get; set; } = new List<Type>()
{
typeof(EmployeeCountWidget),
typeof(InboxWidget),
};
protected override Task OnInitializedAsync()
{
Employee = new Employee
{
FirstName = "Caca",
LastName = "Pipi"
};
return base.OnInitializedAsync();
}
public void ButtonClick()
{
Employee.FirstName = "ProutProut";
}
public void Test()
{
}
}
}