public AddTypeTalkModel(ITalkData talkData) { this.talkData = talkData; if (Talk == null) { Talk = new Talk(); Talk.CreatedDate = DateTime.Now; } }
public DetailModel(ITalkData talkData, ITalkCommentData commentData, IAccountData accountData) { this.talkData = talkData; this.commentData = commentData; this.accountData = accountData; if (Comment == null) { Comment = new TalkComment(); } }
public DeleteModel(ITalkData talkData, ITalkCommentData talkCommentData) { this.talkData = talkData; this.talkCommentData = talkCommentData; }
public ListModel(ITalkData talkData, ITypeData typeData, IAccountData accountData) { this.talkData = talkData; this.typeData = typeData; this.accountData = accountData; }
public EditModel(ITalkData talkData) { this.talkData = talkData; }