private IEnumerable<ModelBase> GetModelsInternal(IEnumerable<Guid> modelGuids) { var foundModels = new List<ModelBase>(); foreach (var modelGuid in modelGuids) { var foundModel = GetModelInternal(modelGuid); if (foundModel != null) foundModels.Add(foundModel); } return foundModels; }