Пример #1
0
 public BaseRepository(PostSystemDbContext dbContext)
 {
     this.dbContext = dbContext;
     Entities       = dbContext.Set <TEntity>();
 }
Пример #2
0
 public UnitOfWork()
 {
     this.dbContext = new PostSystemDbContext();
 }