public ActionResult GetProductsByColor(string color) { var model = new List <SwatchProductModel>(); model = SwatchManager.PrintsProduct(this.CurrentBrand, color); return(PartialView(PathFromView("Partials/Swatch/_SwatchProductsPartial"), model)); }
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)); }