示例#1
0
 public ActionResult DeletePhoto(string fullSizePath, string thumbnailPath)
 {
     photosModel.DeletePhoto(fullSizePath, thumbnailPath);
     photosModel.GetPhotos();
     return(RedirectToAction("Photos"));
 }
 // Deletes the specific photo, and return to photos page.
 // <param name="fullUrl">The full URL.</param>
 public ActionResult DeleteSpecificPhoto(string fullUrl)
 {
     photos.DeletePhoto(fullUrl);
     return(RedirectToAction("Photos"));
 }
示例#3
0
 public ActionResult OKClick()
 {
     photosModel.DeletePhoto(m_selectedPhoto);
     return(RedirectToAction("Photos"));
 }