public async Task <AuthResult> RemoveLoginAsync(int userId, UserLoginInfo loginInfo) { loginInfo.ThrowIfNull("loginInfo"); var userLoginInfo = IdentityModelFactory.Create(loginInfo); var identityResult = await _userManager.RemoveLoginAsync(userId, userLoginInfo); var appIdentityResult = IdentityModelFactory.Create(identityResult); return(appIdentityResult); }