private async Task InitializeDetailsAsync(TemplateViewModel selection) { if (!string.IsNullOrEmpty(selection.RemoteUrl)) { try { var repo = await _githubClient.GetRepositoryDetails(selection.RepositoryOwner, selection.RepositoryName); selection.Description = repo.Description; selection.AvatarUrl = repo.Owner.AvatarUrl; selection.OwnerUrl = repo.Owner.HtmlUrl; } catch (WebException) { } } else { selection.Description = string.Empty; selection.AvatarUrl = string.Empty; selection.OwnerUrl = string.Empty; } }