Result:
@Result.ToJson(indent: true)
}
@code {
private Exception? Exception { get; set; }
private object? Result { get; set; }
protected override async Task OnInitializedAsync() {
if (App.Client is null) {
NavigationManager.NavigateTo("/Auth");
return;
}
}
private async Task RaiseAlarm() {
await App.Client!.SetAlarm(new() { });
}
}