protected function deleteModel(
        Model $model,
        Resource $resource,
        string $route = null
    ) {
        if ($model->delete()) {
            return;
        }

        $message = "Resource '" . ($route ?? $resource->route)
            . "' could not be deleted";

        $this->sendError(static::ERROR_INTERNAL_SERVER, $message);
    }