public function remove(int $id): PodiumResponse
    {
        $groupRemover = $this->getRemover($id);

        if ($groupRemover === null) {
            throw new ModelNotFoundException('Group of given ID can not be found.');
        }

        return $groupRemover->remove();
    }
public function remove(int $id): PodiumResponse
    {
        $groupRemover = $this->getRemover($id);

        if ($groupRemover === null) {
            throw new ModelNotFoundException('Group of given ID can not be found.');
        }

        return $groupRemover->remove();
    }
public function remove ( int $ id ) : PodiumResponse { $ groupRemover = $ this -> getRemover ( $ id ) ; if ( $ groupRemover === null ) { throw new ModelNotFoundException ( 'Group of given ID can not be found.' ) ; } return $ groupRemover -> remove ( ) ; }
Deletes group.
@param int $id
@return PodiumResponse
@throws ModelNotFoundException
Deletes group .