public async Task <IActionResult> SetClaim(string id) { if (string.IsNullOrEmpty(id)) { TempData["Message"] = "Usuário não encontrado."; return(RedirectToAction("Index")); } var searchUser = await _userManager.FindByIdAsync(id); var user = new User { ID = searchUser.Id, Email = searchUser.Email }; ViewBag.ListClaims = new SelectList(Claims.ListClaims(), "Description", "Description"); return(View(user)); }