public ActionResult Edit(int id) { var editedSlide = slideDAO.Get(id); ViewBag.OtherSlides = slideDAO.GetAllExcept(id); return(View(editedSlide)); }
public ActionResult Edit(int id) { var editedSlide = slideDAO.Get(id); ViewBag.OtherSlides = slideDAO.GetAllExcept(id); return(View(editedSlide)); }