Example #1
0
        public ProductList GetFeaturedProductList()
        {
            var products = _productManager.GetFeaturedProducts();

            return(new ProductList()
            {
                Products = products.Select(a => a.MapTo <ProductDto>())
            });
        }