public int UpdateThread(int id) { ThreadDAO dao = new ThreadDAO(); int result = dao.Update(id, this); return(result); }