public virtual IQueryable <TEntity> GetAllIncluding(params Expression <Func <TEntity, object> >[] includeProperties)
        {
            IQueryable <TEntity> query = _context.Set <TEntity>();

            foreach (var includeProperty in includeProperties)
            {
                query = query.Include(includeProperty);
            }
            return(query);
        }
 public GenericRepository(EEPDbContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }