repo->ofId($cmd->id); // Delete the assistant from the repository $this->repo->remove($assistant); } }