Пример #1
0
 public ActionResult ImageSlideIndex()
 {
     var model = new ImageViewModel()
     {
         LstCategory = db.ReferenceValues.Where(o => o.ReferenceId == ReferenceId.ImageCategory).ToList(),
     };
     return View(model);
 }
Пример #2
0
 public ActionResult GetList()
 {
     var model = new ImageViewModel()
     {
         LstImage = db.Slides.ToList()
     };
     return PartialView("_listImage",model);
 }