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