public function getDelete($modelitemId)
    {
        if (!$this->modelAdmin->hasDeleting()) {
            return $this->missingMethod();
        }

        if ($this->modelAdmin->hasSoftDeleting()) {
            $this->modelAdmin->findWithTrashed($modelitemId);
        } else {
            $this->modelAdmin->find($modelitemId);
        }

        return view('flare::admin.modeladmin.delete', ['modelItem' => $this->modelAdmin->model]);
    }
public function getDelete($modelitemId)
    {
        if (!$this->modelAdmin->hasDeleting()) {
            return $this->missingMethod();
        }

        if ($this->modelAdmin->hasSoftDeleting()) {
            $this->modelAdmin->findWithTrashed($modelitemId);
        } else {
            $this->modelAdmin->find($modelitemId);
        }

        return view('flare::admin.modeladmin.delete', ['modelItem' => $this->modelAdmin->model]);
    }
public function getDelete ( $ modelitemId ) { if ( ! $ this -> modelAdmin -> hasDeleting ( ) ) { return $ this -> missingMethod ( ) ; } if ( $ this -> modelAdmin -> hasSoftDeleting ( ) ) { $ this -> modelAdmin -> findWithTrashed ( $ modelitemId ) ; } else { $ this -> modelAdmin -> find ( $ modelitemId ) ; } return view ( 'flare::admin.modeladmin.delete' , [ 'modelItem' => $ this -> modelAdmin -> model ] ) ; }
Delete Model Entry from ModelAdmin Delete Page.

@param int $modelitemId

@return \Illuminate\Http\Response
Delete Model Entry from ModelAdmin Delete Page .