// GET: Home public ActionResult Index() { this.FillSeoInformation("Home"); ViewBag.Scripts = new List <string>() { "homepage.js" }; var model = new CatalogSelectionModel(); return(View(PathFromView("Index"))); }
public static CatalogSelectionModel GetSelectionModel(string brand) { using (var client = new LandauPortalWebAPI()) { var selections = new CatalogSelectionModel(); selections.WomenCategories = GetCategories(client, brand, Constants.WOMEN_GENDER); selections.WomenCollections = GetCollections(client, brand, Constants.WOMEN_GENDER); selections.MenCategories = GetCategories(client, brand, Constants.MEN_GENDER); selections.MenCollections = GetCollections(client, brand, Constants.MEN_GENDER); return(selections); } }