private RedditCloneDbContext GetDbContext() { var options = this.GetDbContextOptions(); var dbContext = new RedditCloneDbContext(options); return(dbContext); }
public PostRepository(RedditCloneDbContext dbContext) : base(dbContext) { }
public UserRepository(RedditCloneDbContext dbContext) : base(dbContext) { }
public CommentRepository(RedditCloneDbContext dbContext) : base(dbContext) { }