예제 #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"));
 }