public void DeleteNewsEvent(string strId) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsEventDAO newsEventDAO = new NewsEventDAO(); newsEventDAO.DeleteNewsEvent(restr); }
public void DeleteNewsEvent(int nId) { NewsEventDAO newsEventDAO = new NewsEventDAO(); newsEventDAO.DeleteNewsEvent(nId); }