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