public int DeleteNews(int id) { var dao = new NewsDAO(); int res = dao.DeleteNews(id, DateTime.Now); return res; }