private async Task HandleException(Exception ex) { Console.WriteLine(ex.StackTrace); //Write to a log destination in server? Not for now, as the aim is to do Client side hosting only. await AlertService.ErrorAsync(ex.Message); if (StarredRepos.Count() == 0) { await SetHomeContentAsync(); } }
public IActionResult GetStarredRepos() { List <StarredRepos> repoList = StarredRepos.GetStarredRepos(); return(View(repoList)); }