protected override async Task OnInitializedAsync() { try { HardwareVaultTaskList = await HardwareVaultTaskService.GetHardwareVaultTasksAsync(); } catch (Exception ex) { Logger.LogError(ex.Message); await ToastService.ShowToastAsync(ex.Message, ToastType.Error); await ModalDialogCancel(); } }
protected override async Task OnInitializedAsync() { HardwareVaultTaskList = await HardwareVaultTaskService.GetHardwareVaultTasksAsync(); }