Exemple #1
0
        public async Task <SignInResult> CheckPasswordSignInAsync(UserDto dto, string password)
        {
            var user = await _user.FindAsync(u => u.UserName == dto.UserName);

            var result = await _user.CheckPasswordSignInAsync(user, password);

            return(result);
        }