private async Task DownloadData() { try { Pilots = await _service.GetAllAsync(); } catch (System.InvalidOperationException ex) { await _dialogService.ShowMessage(ex.Message, "Error"); } }
private async Task DownloadData() { try { Pilots = await _service.GetAllAsync(); } catch (System.InvalidOperationException ex) { await _dialogService.ShowMessage(ex.Message, "Error"); } }