public async Task <ActionResult <AuthUserData> > Update(UpdateUser.Execute user) { return(await Mediator.Send(user)); }
public async Task <ActionResult <Unit> > Actualizar(UpdateUser.Execute data) { return(await _mediator.Send(data)); }