public IEnumerable <Bundle> GetBundles(string location) { var bundles = GetOrCreateBundleSet(location); var bundlesForLocation = GetOrCreateBundleSet(location); return(bundleContainer.IncludeReferencesAndSortBundles(bundles) .Where(b => bundlesForLocation.Contains(b) || BundlePageLocationIs(b, location))); }
public IEnumerable <Bundle> GetBundles(string location) { var bundles = GetOrCreateBundleSet(location); return(bundleContainer.IncludeReferencesAndSortBundles(bundles)); }