예제 #1
0
        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();
            }
        }
예제 #2
0
        public IActionResult GetStarredRepos()
        {
            List <StarredRepos> repoList = StarredRepos.GetStarredRepos();

            return(View(repoList));
        }