public ActionResult DeletePhoto()
 {
     return(RedirectToAction("DeletePhoto", "DeletePhoto", new { selectedPhoto = PhotoDB.GetIndex(model.selectedPhoto) }));
 }
 public ActionResult Delete()
 {
     return(RedirectToAction("DeleteConfirm", "Photos", new { toDelete = PhotoDB.GetIndex(model.selectedPhoto) }));
 }