code: public function create(Repository $repository, array $data)
      {
          if (!empty($data['_id']) && $this->read($repository, $data['_id'])) {
              throw new \RuntimeException('The resource existed.');
          }
  
          $repository->getManager()->bulk('create', $repository->getType(), $data);
      }
docs: {@inheritdoc}