Ejemplo n.º 1
0
 public PostController(PostContainer postcontainer, ReplyContainer replycontainer, ForumContainer forumcontainer, IPostUpdateContext update)
 {
     this.Container      = postcontainer;
     this.replyContainer = replycontainer;
     this.forumContainer = forumcontainer;
     this.postUpdate     = update;
 }
Ejemplo n.º 2
0
 public bool Update(IPostUpdateContext context)
 {
     this.postContext = context;
     context.PostUpdate(converter.ModelToDTO(this));
     return(true);
 }