public DetailModel(ITalkData talkData, ITalkCommentData commentData, IAccountData accountData) { this.talkData = talkData; this.commentData = commentData; this.accountData = accountData; if (Comment == null) { Comment = new TalkComment(); } }
public EditCommentModel(ITalkCommentData talkCommentData) { this.talkCommentData = talkCommentData; }
public DeleteCommentModel(ITalkCommentData talkCommentData) { this.talkCommentData = talkCommentData; }
public DeleteModel(ITalkData talkData, ITalkCommentData talkCommentData) { this.talkData = talkData; this.talkCommentData = talkCommentData; }