public ActionResult Slideshow(string showname) { var model = new SlideshowModel(); model.ShowName = showname; model.ImagePaths = GetImagePaths(showname).ToList(); model.SlideshowNames = slideshowManager.SlideshowNames; return View(model); }
public ActionResult SlideShow() { var model = new SlideshowModel(); model.SlideshowNames = slideshowManager.SlideshowNames; return View(model); }