Example #1
0
 public ActionResult ProductDetailsPopUp(int id, int? productImageId)
 {
     using (var context = new SiteContainer())
     {
         var model = new GalleryModel(context, null, id, productImageId);
         this.SetSeoContent(model);
         return PartialView(model);
     }
 }
Example #2
0
 public ActionResult ProductDetails(int id)
 {
     using (var context = new SiteContainer())
     {
         var model = new GalleryModel(context, null, id);
         this.SetSeoContent(model);
         ViewBag.PageTitle = model.PageTitle;
         //ViewBag.CurrentCategoryId = model.Category.Id;
         ViewBag.CurrentProductId = model.Product.Id;
         return View(model);
     }
 }
Example #3
0
 public ActionResult Gallery(string id)
 {
     using (var context = new SiteContainer())
     {
         var model = new GalleryModel(context, id);
         ViewBag.CurrentMenuItemName = model.Content.Name;
         //ViewBag.CurrentCategoryId = model.Category.Id;
         this.SetSeoContent(model);
         ViewBag.PageTitle = model.PageTitle;
         return View(model);
     }
 }