public void UpdateNewsApprovedComment(string strId, string value) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.UpdateNewsApprovedComment(restr, value); }
public void DeleteNewsApprovedComment(string strId) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.DeleteNewsApprovedComment(restr); }
public void UpdateNewsApprovedComment(NewsApprovedComment newsApprovedComment) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.UpdateNewsApprovedComment(newsApprovedComment); }
public DataTable GetNewsApprovedCommentByNewsID(int newsID) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); return(newsApprovedCommentDAO.GetNewsApprovedCommentByNewsID(newsID)); }
public DataTable GetAllNewsGroupApprovedComment(int ID) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); return(newsApprovedCommentDAO.GetAllNewsGroupApprovedComment(ID)); }
public DataTable GetAllNewsApprovedComment() { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); return(newsApprovedCommentDAO.GetAllNewsApprovedComment()); }
public NewsApprovedComment GetNewsApprovedCommentById(int commentID) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); return(newsApprovedCommentDAO.GetNewsApprovedCommentById(commentID)); }
public int CreateNewsApprovedCommentGet(NewsApprovedComment newsApprovedComment) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); return(newsApprovedCommentDAO.CreateNewsApprovedCommentGet(newsApprovedComment)); }
public void DeleteNewsApprovedComment(int commentID) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.DeleteNewsApprovedComment(commentID); }
public void UpdateNewsApprovedComment(int Id, string value, string username, DateTime date) { NewsApprovedCommentDAO newsApprovedCommentDAO = new NewsApprovedCommentDAO(); newsApprovedCommentDAO.UpdateNewsApprovedComment(Id, value, username, date); }