Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public AuthResult AddToRole(int userId, string roleName) { roleName.ThrowIfNull("roleName"); var identityResult = _userManager.AddToRole(userId, roleName); var appIdentityResult = IdentityModelFactory.Create(identityResult); return(appIdentityResult); }