예제 #1
0
        public AuthResult AddPassword(int userId, string password)
        {
            password.ThrowIfNull("password");

            var identityResult    = _userManager.AddPassword(userId, password);
            var appIdentityResult = IdentityModelFactory.Create(identityResult);

            return(appIdentityResult);
        }