protected function destroyGroupAction($class)
    {
        $result = $class::destroy($this->request->id);
        if ( is_integer($result) && $result > 0) {
            return true;
        }
        return false;
    }
protected function destroyGroupAction($class)
    {
        $result = $class::destroy($this->request->id);
        if ( is_integer($result) && $result > 0) {
            return true;
        }
        return false;
    }
protected function destroyGroupAction ( $ class ) { $ result = $ class :: destroy ( $ this -> request -> id ) ; if ( is_integer ( $ result ) && $ result > 0 ) { return true ; } return false ; }
destroy group action

@param $class
@return boolean
destroy group action