public IEnumerable <Edge <TDataModel, TTypeDataId, TTypeSideId> > GetEdgesById(TTypeDataId[] ids)
 {
     return(_handler.GetEntities(ids, _edgeElasticIndexName).Select(
                entity => new Edge <TDataModel, TTypeDataId, TTypeSideId>(entity)
                ));
 }
 public IEnumerable <Node <TDataModel, TTypeDataId> > GetNodesById(TTypeDataId[] ids)
 {
     return(_handler.GetEntities(ids, _nodeElasticIndexName).Select(
                entity => new Node <TDataModel, TTypeDataId>(entity)
                ));
 }