public IAFCHandBookCommentModel() { Likes = new IAFCHandBookLikesModel(); Author = new IAFCHandBookUserModel(); RepliedComments = new List <IAFCHandBookCommentModel>(); RelpyButtonPressed = false; UserAuthorized = IsUserAuthorized(); }
public IAFCHandBookResourceModel() { IsResourceAddedToMyHandBook = false; Comments = new List <IAFCHandBookCommentModel>(); Likes = new IAFCHandBookLikesModel(); ResourceDetails = new IAFCHandBookResourceDetailsModel(); MoreResources = new List <IAFCHandBookMoreResourcesModel>(); IsUserAuthorized = false; }
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(); }
public IAFCHandBookResourceModel(Guid id, string resourceTitle, DateTime dateCreated) { Id = id; ResourceTitle = resourceTitle; DateCreated = dateCreated; IsResourceAddedToMyHandBook = false; IsResourceCompleted = false; Comments = new List <IAFCHandBookCommentModel>(); Likes = new IAFCHandBookLikesModel(); ResourceDetails = new IAFCHandBookResourceDetailsModel(); MoreResources = new List <IAFCHandBookMoreResourcesModel>(); IsUserAuthorized = false; }
public IAFCHandBookMoreResourcesModel() { Likes = new IAFCHandBookLikesModel(); ResourceDetails = new IAFCHandBookResourceDetailsModel(); }