38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components;
|
|
using System.Net.Http;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Components.Authorization;
|
|
using Microsoft.AspNetCore.Components.Forms;
|
|
using Microsoft.AspNetCore.Components.Routing;
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
using Microsoft.AspNetCore.Components.Web.Virtualization;
|
|
using Microsoft.JSInterop;
|
|
using MP.SPEC;
|
|
using MP.SPEC.Shared;
|
|
using MP.SPEC.Components;
|
|
using MP.SPEC.Data;
|
|
|
|
namespace MP.SPEC.Pages
|
|
{
|
|
public partial class Index
|
|
{
|
|
public List<MP.Data.DatabaseModels.LinkMenu>? ElencoLink { get; set; }
|
|
|
|
[Inject]
|
|
protected MpDataService MDService { get; set; } = null!;
|
|
|
|
//[Inject]
|
|
//protected MessageService MessageService { get; set; }
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
// recupero elenco JQM
|
|
ElencoLink = await MDService.ElencoLink();
|
|
await Task.Delay(1);
|
|
}
|
|
}
|
|
} |