productVariants = productVariants.Where(pv => pv.AppliedDiscounts.Where(ad => ad.Id == discountId) as IList<ProductVariant>;
but here's some blurb anyway.
I'm trying to get the pv's from a list of pv's that have a certain discount code applied to them
Any help is appreciated.
Darren