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 })); } }
public ActionResult EditGalleryPhotos(Guid id) { EditPhotoGalleryModel model = new EditPhotoGalleryModel(this.SiteID, id); return(View(model)); }