Beispiel #1
0
 protected bool IsInRole(string roleName) => User.HasClaim(ClaimTypes.Role, roleName);