예제 #1
0
 public PostRepository(IDbContext dbContext, IMapToNewWithChild <Post, User, Core.Models.Post> postMapper)
 {
     this.dbContext  = dbContext;
     this.postMapper = postMapper;
 }
예제 #2
0
 public CommentRepository(IDbContext dbContext, IMapToNewWithChild <Comment, User, Core.Models.Comment> commentMapper)
 {
     this.dbContext     = dbContext;
     this.commentMapper = commentMapper;
 }