/**
  * @param WorkspaceModel $model
  * @param Group $group
  */
 public function removeGroup(WorkspaceModel $model, Group $group)
 {
     $group->removeModel($model);
     $this->om->persist($model);
     $this->om->flush();
 }