Пример #1
0
 public IEnumerable<T> Query<T>(string query, bool isRelative) where T : class
 {
     return isRelative
         ? _sitecoreContext.QueryRelative<T>(query)
         : _sitecoreContext.Query<T>(query);
 }