public async Task OnGet() { try { LatestIssues = await gitHubService.GetAspDotNetDocsIssueAsync(); } catch (HttpRequestException) { GetIssuesError = true; LatestIssues = Array.Empty <GitHubIssue>(); } try { Repos = await repoService.GetReposAsync(); } catch (HttpRequestException) { GetReposError = true; Repos = Array.Empty <string>(); } }