Exemplo n.º 1
0
 public ActionResult BrandDetails(string brandGroup, string id)
 {
     using (var context = new SiteContainer())
     {
         var model = new BrandCatalogueModel(CurrentLang, context, brandGroup, id);
         this.SetSeoContent(model);
         ViewBag.CurrentMenuItem = "brand-details";
         return View(model);
     }
 }
Exemplo n.º 2
0
        //
        // GET: /BrandCatalogue/Home/

        public ActionResult Index()
        {
            using (var context = new SiteContainer())
            {
                var model = new BrandCatalogueModel(CurrentLang, context,null, null);
                this.SetSeoContent(model);
                ViewBag.CurrentMenuItem = "gallery";
                return View(model);
            }
        }