public void DeleteNewsApprovedComment(string strId) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.DeleteNewsApprovedComment(restr); }
public void DeleteNewsApprovedComment(int commentID) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.DeleteNewsApprovedComment(commentID); }