after creating a user successfully var addClaimResult = await _userManager.AddClaimAsync(user, new Claim(ClaimTypes.Role, "admin")); // .
確定! 回上一頁