28 lines
684 B
C#
28 lines
684 B
C#
using Microsoft.AspNetCore.Components;
|
|
using StockMan.CORE.Data;
|
|
using StockMan.Data.DbModels;
|
|
using System.Net;
|
|
|
|
namespace StockMan.CORE.Shared
|
|
{
|
|
public partial class MainLayout
|
|
{
|
|
#region Protected Properties
|
|
[Inject]
|
|
protected StockDataService SDService { get; set; } = null!;
|
|
|
|
protected List<PermessiModel>? navMenuLinks { get; set; } = null;
|
|
|
|
#endregion Protected Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await Task.Delay(1);
|
|
navMenuLinks = await SDService.PermessiGetAll();
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |