Exemplo n.º 1
0
 protected Repository(
     IUnitOfWork unitOfWork,
     BlogPostContext dbContext)
 {
     UnitOfWork = unitOfWork;
     DbContext  = dbContext;
     DbSet      = DbContext.Set <TEntity>();
 }