first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
|
||||
|
||||
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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user