示例#1
0
 public IAFCHandBookCommentModel()
 {
     Likes              = new IAFCHandBookLikesModel();
     Author             = new IAFCHandBookUserModel();
     RepliedComments    = new List <IAFCHandBookCommentModel>();
     RelpyButtonPressed = false;
     UserAuthorized     = IsUserAuthorized();
 }
示例#2
0
 public IAFCHandBookCommentModel(string commentTitle, string сommentText, DateTime dateCreated, IAFCHandBookUserModel author)
 {
     CommentTitle       = commentTitle;
     CommentText        = сommentText;
     DateCreated        = dateCreated;
     Author             = author;
     Likes              = new IAFCHandBookLikesModel();
     RepliedComments    = new List <IAFCHandBookCommentModel>();
     RelpyButtonPressed = false;
     UserAuthorized     = IsUserAuthorized();
 }