Exemplo n.º 1
0
        public IActionResult PutEmailNick([FromRoute] int id, [FromBody] LoginInput input)
        {
            var objLogin = new Login()
            {
                EMAIL = input.EMAIL,
                NICK  = input.NICK
            };

            var obj = _loginNegocio.AlterarEmailNick(id, objLogin);

            return(Accepted(obj));
        }