You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
707 B
29 lines
707 B
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace VeraxShield.pages
|
|
{
|
|
public partial class Index
|
|
{
|
|
[Inject]
|
|
private DonneurEtat DonneurEtat {get; set;}
|
|
|
|
[Inject]
|
|
private NavigationManager NavigationManager {get; set;}
|
|
|
|
private async Task SeDeconnecter()
|
|
{
|
|
await DonneurEtat.Deconnexion();
|
|
NavigationManager.NavigateTo("/connexion");
|
|
}
|
|
|
|
private async Task SeConnecter()
|
|
{
|
|
NavigationManager.NavigateTo("/connexion");
|
|
}
|
|
|
|
private void RetourVerax()
|
|
{
|
|
NavigationManager.NavigateTo("http://181.214.189.133:9090/");
|
|
}
|
|
}
|
|
} |