Example #1
0
 public Comment(News CurrentNews, User CurrentUser, string CommentBody)
 {
     News = CurrentNews;
     Author = CurrentUser;
     Message = CommentBody;
     Date = DateTime.Now;
 }
Example #2
0
 public void AddUser(User NewUser)
 {
     Users.Add(NewUser);
 }
Example #3
0
 public UserOpinion(Comment CommentForLikeOrDislike, User CurrentUser, bool LikeIt)
 {
     Like = LikeIt;
     Comment = CommentForLikeOrDislike;
     Author = CurrentUser;
 }