Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static IList<RefinementGroup> GenerateAvailableProductRefinementsFrom(IEnumerable<ProductTitle> productsFound)
- {
- var brandsRefinementGroup = productsFound
- .Select(p => p.Brand)
- .Distinct()
- .ToList()
- .ConvertAll<IProductAttribute>(b => (IProductAttribute)b)
- .ConvertToRefinementGroup(RefinementGroupings.brand);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement