39 lines
811 B
C#
39 lines
811 B
C#
using MagMan.Core.Services;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace MagMan.UI.Pages
|
|
{
|
|
public partial class Index
|
|
{
|
|
#region Protected Fields
|
|
|
|
#if DEBUG
|
|
protected bool isDebug = true;
|
|
#else
|
|
protected bool isDebug = false;
|
|
#endif
|
|
|
|
#endregion Protected Fields
|
|
|
|
#region Protected Properties
|
|
|
|
[Inject]
|
|
protected MessageService AppMService { get; set; } = null!;
|
|
|
|
#endregion Protected Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
AppMService.ShowSearch = false;
|
|
AppMService.ShowCustomers = true;
|
|
AppMService.PageName = "Home";
|
|
AppMService.PageIcon = "fa-solid fa-home pr-2";
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
|
|
}
|
|
} |