Files
magman/MagMan.UI/Pages/AdminArea.razor.cs
T
2024-01-12 11:53:03 +01:00

39 lines
953 B
C#

// Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this
// file to you under the MIT license.
using MagMan.Data.Tenant.Services;
using Microsoft.AspNetCore.Components;
namespace MagMan.UI.Pages
{
public partial class AdminArea
{
#region Protected Properties
[Inject]
protected MessageService AppMService { get; set; } = null!;
#endregion Protected Properties
#region Protected Methods
protected override void OnInitialized()
{
AppMService.ShowSearch = false;
AppMService.PageName = "Admin Area";
AppMService.PageIcon = "fa-solid fa-house pr-2";
}
protected void SetCustomer(int CustId)
{
CustomerID = CustId;
}
#endregion Protected Methods
#region Private Fields
private int CustomerID = 0;
#endregion Private Fields
}
}