Example #1
0
        public void addComment(string x, int userId)
        {
            comment c = new comment(this.getVideoId(), 0, 0, userId, x);

            if (bl.addCommentToVideo(c, this.getVideoId()))
            {
                this.comments.Add(c);
            }
        }
Example #2
0
 //not done
 public bool addCommentToVideo(comment c, int vidId)
 {
     return(true);
 }