public List <ModelDto> GetModels() { var modelData = _digitalTwinsClient.GetModels(new GetModelsOptions { IncludeModelDefinition = true }).ToList(); return(ModelDto.MapFromModelData(modelData)); }
public ModelDto GetModel(string modelId) { var modelDatum = _digitalTwinsClient.GetModel(modelId); return(ModelDto.MapFromModelData(modelDatum.Value)); }
public List <ModelDto> GetModels() { var modelData = _digitalTwinsClient.GetModels(includeModelDefinition: true).ToList(); return(ModelDto.MapFromModelData(modelData)); }