public async Task <ActionResult> RemoveLogin(string username, string loginProvider, string providerKey) { var model = new RemoveUserLoginViewModel(username, loginProvider, providerKey); await _userManageAppService.RemoveLogin(model); return(ResponseDelete()); }
public async Task <ActionResult <DefaultResponse <bool> > > RemoveLogin([FromBody] RemoveUserLoginViewModel model) { if (!ModelState.IsValid) { NotifyModelStateErrors(); return(Response(false)); } await _userManageAppService.RemoveLogin(model); return(Response(true)); }
public Task RemoveLogin(RemoveUserLoginViewModel model) { var registerCommand = _mapper.Map <RemoveUserLoginCommand>(model); return(Bus.SendCommand(registerCommand)); }
public Task RemoveLogin(RemoveUserLoginViewModel model) { throw new NotImplementedException(); }