コード例 #1
0
        public async Task <IActionResult> GetStatsForReact()
        {
            GitHubStats result = new GitHubStats();

            try
            {
                result = await _gitHubService.GetStatsForReact();

                return(Ok(result));
            }
            catch (Exception ex)
            {
                throw new Utils.HttpStatusCodeException(HttpStatusCode.InternalServerError, ex.ToString());
            }
        }