Exemple #1
0
        /// <summary>
        /// Renders the product category page
        /// </summary>
        /// <returns></returns>
        public ActionResult ProductCategoryPage()
        {
            var vm = GetPageModel <ProductCategoryPageViewModel>();

            UmbracoMapper.MapCollection(CurrentPage.Children, vm.Products);
            return(CurrentTemplate(vm));
        }