Esempio n. 1
0
 public IAFCHandBookCommentModel()
 {
     Likes              = new IAFCHandBookLikesModel();
     Author             = new IAFCHandBookUserModel();
     RepliedComments    = new List <IAFCHandBookCommentModel>();
     RelpyButtonPressed = false;
     UserAuthorized     = IsUserAuthorized();
 }
Esempio n. 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();
 }