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