Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 5
0
 public EditModel(ITalkData talkData)
 {
     this.talkData = talkData;
 }