public ActionResult _Slide() { var dao = new SlideDAO(); var model = dao.GetAllSlide(); return(PartialView(model)); }
public static List <Slide> GetAllSlide() { return(SlideDAO.GetAllSlide()); }