public IEnumerable <SCIMRepresentationAttribute> GetAttributesByPath(string fullPath)
        {
            if (string.IsNullOrWhiteSpace(fullPath))
            {
                return(new SCIMRepresentationAttribute[0]);
            }

            return(FlatAttributes.Where(a => a.FullPath == fullPath));
        }
 public IEnumerable <SCIMRepresentationAttribute> GetChildren(SCIMRepresentationAttribute attr)
 {
     return(FlatAttributes.Where(a => a.ParentAttributeId == attr.Id));
 }
 public IEnumerable <SCIMRepresentationAttribute> GetAttributesByAttrSchemaId(string attrSchemaId)
 {
     return(FlatAttributes.Where(a => a.SchemaAttributeId == attrSchemaId));
 }