AspNet.StarterKits.Classifieds.Web.CategoryCache.FetchCategoriesByParentId C# (CSharp) Method

FetchCategoriesByParentId() private static method

private static FetchCategoriesByParentId ( int parentCategoryId ) : List
parentCategoryId int
return List
		private static List<CachedCategory> FetchCategoriesByParentId(int parentCategoryId)
		{
			List<CachedCategory> subCategories = new List<CachedCategory>();
			using (CategoriesDB db = new CategoriesDB())
			{
				FetchCategoriesRecursively(false, subCategories, db, parentCategoryId, String.Empty);
			}
			return subCategories;
		}