Beispiel #1
0
 /// <summary>
 /// Returns all the categories in this category, including any sublevel
 /// </summary>
 /// <param name="categoryId">The category unique identifier.</param>
 /// <param name="storeAlias">The store alias.</param>
 /// <returns>
 /// All subcategories, independent of level of the given categoryId
 /// </returns>
 public static IEnumerable <ICategory> CategoriesRecursive(int categoryId, string storeAlias = null)
 {
     return(StoreHelper.GetCategoriesRecursive(categoryId, storeAlias));
 }
Beispiel #2
0
 public static List <Category> GetCategoriesRecursive(int categoryId, string storeAlias = null)
 {
     return(StoreHelper.GetCategoriesRecursive(categoryId, storeAlias));
 }