/// <summary> /// Gets all <see cref="IDataType"/> objects or those with the ids passed in /// </summary> /// <param name="ids">Optional array of Ids</param> /// <returns>An enumerable list of <see cref="IDataType"/> objects</returns> public IEnumerable <IDataType> GetAll(params int[] ids) { using (var scope = ScopeProvider.CreateScope(autoComplete: true)) { return(_dataTypeRepository.GetMany(ids)); } }
/// <summary> /// Gets all <see cref="IDataType"/> objects or those with the ids passed in /// </summary> /// <param name="ids">Optional array of Ids</param> /// <returns>An enumerable list of <see cref="IDataType"/> objects</returns> public IEnumerable <IDataType> GetAll(params int[] ids) { using ICoreScope scope = ScopeProvider.CreateCoreScope(autoComplete: true); IEnumerable <IDataType> dataTypes = _dataTypeRepository.GetMany(ids).ToArray(); ConvertMissingEditorsOfDataTypesToLabels(dataTypes); return(dataTypes); }