예제 #1
0
        public ActionResult GetProductsByColor(string color)
        {
            var model = new List <SwatchProductModel>();

            model = SwatchManager.PrintsProduct(this.CurrentBrand, color);
            return(PartialView(PathFromView("Partials/Swatch/_SwatchProductsPartial"), model));
        }
예제 #2
0
        public ActionResult Index()
        {
            this.FillSeoInformation(UrlBuilder.PRINTS);
            ViewBag.Scripts = new List <string>()
            {
                "prints_solids.js"
            };

            var model = new SwatchListModel();

            model = SwatchManager.Prints(this.CurrentBrand);
            return(View(PathFromView("Prints"), model));
        }