public void DeleteNewsRegister(string strId) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsRegisterDAO _newsRegisterDAO = new NewsRegisterDAO(); _newsRegisterDAO.DeleteNewsRegister(restr); }
public void DeleteNewsRegister(int nId) { NewsRegisterDAO _newsRegisterDAO = new NewsRegisterDAO(); _newsRegisterDAO.DeleteNewsRegister(nId); }