/** * @param $id * @return bool|null * @throws \Exception */ protected function destroy($id) { $this->modelInstance = $this->modelInstance->withTrashed()->findOrFail($id); if ($this->modelInstance->trashed()) { return $this->modelInstance->forceDelete(); } return $this->modelInstance->delete(); }