public function delete(LogsListener $listener, $id = null): RedirectResponse
    {
        $stack = !empty($ids   = input('attr')) ? $this->stack->newQuery()->whereIn('id', $ids) : $this->stack->newQuery()->findOrFail($id);
        if ($stack->delete()) {
            return $listener->deleteSuccess();
        }
        return $listener->deleteFailed();
    }