コード例 #1
0
        public ActionResult EditGalleryPhotos(EditPhotoGalleryModel model)
        {
            model.SetSrcFiles();
            model.LoadGallery();

            if (!model.SaveGallery) {
                return View(model);
            } else {
                model.Save();
                return RedirectToAction("EditGalleryPhotos", new { @id = model.GalleryID });
            }
        }
コード例 #2
0
        public ActionResult EditGalleryPhotos(Guid id)
        {
            EditPhotoGalleryModel model = new EditPhotoGalleryModel(this.SiteID, id);

            return View(model);
        }