public ActionResult Edit(int id) { //SetViewBag(); var dao = new SlideDAO(); var slide = dao.GetSlideByID(id); return(View(slide)); }