Ejemplo n.º 1
0
        public static IEnumerable <IPriceValue> Prices(this ProductContent productContent,
                                                       IPriceService priceService)
        {
            List <VariationContent> variants = productContent.VariationContents().ToList();

            return
                (priceService.GetCatalogEntryPrices(
                     variants.Select(x => new CatalogKey(x.Code))).ToList());
        }