public List <PortComment> SelectByPid(int pid) { List <PortComment> comments = new PortCommentDAO().SelectByPid(pid); return(comments); }
public int AddComment() { int result = new PortCommentDAO().Insert(this); return(result); }