private void FillSolutionComponentFromSchemaName(ICollection <SolutionComponent> result, string webResourceName, int?behavior) { if (string.IsNullOrEmpty(webResourceName)) { return; } var repository = new WebResourceRepository(_service); var entity = repository.FindByExactName(webResourceName, ColumnSetInstances.None); if (entity != null) { FillSolutionComponentInternal(result, entity.Id, behavior); } }