public async Task IdentityResult SignUpUser SignUpModel userModel Iden

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
//public async Task<IdentityResult> SignUpUser(SignUpModel userModel)
//{
// IdentityUser user = new IdentityUser
// {
// UserName = userModel.UserName
// };
// var result = await _userManager.CreateAsync(user, userModel.Password);
// return result;
//}
//public async Task<IdentityUser> FindUser(string userName, string password)
//{
// IdentityUser user = await _userManager.FindAsync(userName, password);
// return user;
//}