예제 #1
0
        public IList <Repository> GetReposForUser(string githubUserId)
        {
            if (string.IsNullOrEmpty(githubUserId))
            {
                throw new ArgumentException(nameof(githubUserId));
            }

            var jsonFromInquisitor = _inquisitor.GetRepoSearchResults(githubUserId);

            return(BuildRepoListFromJson(githubUserId, jsonFromInquisitor));
        }