code: public function delete(Repository $repository, $id)
      {
          if (!$id) {
              throw new \RuntimeException('Missing _id field for update operations.');
          }
  
          if (!$this->read($repository, $id)) {
              throw new NoDocumentsToGetException("Identifier not found!");
          }
  
          $repository->getManager()->bulk('delete', $repository->getType(), ['_id' => $id]);
      }
docs: {@inheritdoc}