예제 #1
0
        private async Task <Retorno> Atualizar(UsuarioDTO command)
        {
            command.ValidAtualizarExcluir();
            if (command.Invalid)
            {
                return(new Retorno(false, "Dados Inválidos!", command.Notifications));
            }

            return(await _repository.Atualizar(command));
        }