Exemple #1
0
        public async Task <IActionResult> Excluir(Guid id)
        {
            var retorno = await _clienteApplication.Excluir(id);

            if (retorno.Valid)
            {
                return(Ok());
            }
            return(BadRequest(retorno.Notifications));
        }