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