public JsonResult ChangeStatus(int SlideID) { SlideDAO slideDAO = new SlideDAO(); var tempstatus = slideDAO.ChangeStatus(SlideID); return(Json(new { status = tempstatus })); }