public IActionResult Buscar(string buscar) { GitHubApi api = new GitHubApi(); var result = api.GetUsuarios(buscar); HttpContext.Session.Set("usuarios", result); return(View("Index", result)); }