public void ChangePassword([FromBody] UsuarioDTO usuarioDTO, string userName) => loginService.AlterarSenha(userName, usuarioDTO.SenhaAtual, usuarioDTO.SenhaNova);
Example #2
0
 public ActionResult <BaseResponse <UsuarioLogin> > AlterarSenha([FromBody] string email) => Execute(() => _service.AlterarSenha(email));