public IActionResult commits(string repo) { string url = "https://api.github.com/repos/" + _User + "/" + repo + "/commits"; GithubRepo rep = new GithubRepo(url); List <Commit> info = rep.GetCommits("User"); return(Json(info)); }