public async Task <IActionResult> ListarTodosVeiculos(CancellationToken ctx) { var result = await _veiculoApplication.ListarTodos(ctx); if (result.Valid && result.Object.Any()) { return(Ok(result.Object)); } return(NoContent()); }