public void DeleteNewsLog(string strId) { if (strId != "") { strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); } NewsLogDAO newsLogDAO = new NewsLogDAO(); newsLogDAO.DeleteNewsLog(strId); }
public void DeleteNewsLog(int newsLogID, int newsGroupID) { NewsLogDAO newsLogDAO = new NewsLogDAO(); newsLogDAO.DeleteNewsLog(newsLogID, newsGroupID); }