Пример #1
0
 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();
     }
 }
Пример #2
0
 protected override async Task OnInitializedAsync()
 {
     HardwareVaultTaskList = await HardwareVaultTaskService.GetHardwareVaultTasksAsync();
 }