findCategoryTask->byUuid($request->post('uuid')); try { $this->connection->transaction(function() use($category) { $this->destroyCategoryTask->run($category); }); } catch(Throwable $t) { return false; } return true; } }