Пример #1
0
 public PostUpdater(IDatabase database, PermissionHandler <Post> postPermissionHandler, IPostViewMapper postMapper)
 {
     this.database = database;
     this.postPermissionHandler = postPermissionHandler;
     this.postMapper            = postMapper;
 }
Пример #2
0
 public SpaceUpdater(IDatabase database, PermissionHandler <Space> spacePermissionHandler, ISpaceViewMapper spaceMapper)
 {
     this.database = database;
     this.spacePermissionHandler = spacePermissionHandler;
     this.spaceMapper            = spaceMapper;
 }
Пример #3
0
 public CommentUpdater(IDatabase database, PermissionHandler <Comment> commentPermissionHandler, ICommentViewMapper commentMapper)
 {
     this.database = database;
     this.commentPermissionHandler = commentPermissionHandler;
     this.commentMapper            = commentMapper;
 }