public ActionResult Edit(Photos photo) { try { aps.EditPhoto(photo); return(RedirectToAction("Index")); } catch { return(View()); } }