Files
mapo-core/MP.Mon/Pages/Index.razor.cs
T
2022-04-13 08:20:42 +02:00

42 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.Mon;
using MP.Mon.Shared;
using MP.Mon.Components;
using MP.Data.DatabaseModels;
using MP.Mon.Components;
using MP.Mon.Data;
namespace MP.Mon.Pages
{
public partial class Index
{
protected List<MappaStatoExpl>? ListMSE = null;
protected override async Task OnInitializedAsync()
{
await reloadData();
//return base.OnInitializedAsync();
}
[Inject]
protected MpDataService MMDataService { get; set; }
private async Task reloadData()
{
ListMSE = await MMDataService.MseGetAll();
}
}
}