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