示例#1
0
 public Task <IActionResult> RemoveLogin(RemoveLoginModel model)
 {
     return(MakeChangeAsync(user => userManager.RemoveLoginAsync(user, model.LoginProvider, model.ProviderKey),
                            "Login provider removed successfully."));
 }
示例#2
0
 public Task <IActionResult> RemoveLogin(RemoveLoginModel model)
 {
     return(MakeChangeAsync(id => userService.RemoveLoginAsync(id, model.LoginProvider, model.ProviderKey),
                            T.Get("users.profile.removeLoginDone"), model));
 }