first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using BethanysPieShopHRM.Shared.Domain;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace Webshop.App.Components
|
||||
{
|
||||
public partial class QuickViewPopup
|
||||
{
|
||||
[Parameter]
|
||||
public Employee Employee { get; set; } = default!;
|
||||
|
||||
private Employee? _employee;
|
||||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
base.OnParametersSet();
|
||||
_employee = Employee;
|
||||
}
|
||||
public void Close()
|
||||
{
|
||||
_employee = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user