30 lines
620 B
Plaintext
30 lines
620 B
Plaintext
@page "/RefreshData"
|
|
|
|
@using MP.Land.Components
|
|
@using MP.Land.Data
|
|
|
|
@inject AppAuthService DataService
|
|
@inject LicenseService LicServ
|
|
@inject NavigationManager NavManager
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<LoadingData></LoadingData>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@code {
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await Task.Delay(100);
|
|
LicServ.AKVList = new List<AppAuth.Models.AnagKeyValueModel>();
|
|
await Task.Delay(100);
|
|
await DataService.ResetCache();
|
|
await Task.Delay(100);
|
|
|
|
// redireziono
|
|
NavManager.NavigateTo("");
|
|
}
|
|
}
|