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