public ActionResult List(string Username, string RepositoryName, string State) { IssueState state = State == "open" ? IssueState.Open : IssueState.Closed; IEnumerable <Issue> issues = BaseAPI.List(RepositoryName, Username, state); return(View("List", GetBaseView(issues))); }
public ActionResult List(string Id) { IEnumerable <Core.Models.Repository> repos = BaseAPI.List(Id); return(View(GetBaseView(repos))); }