public GenericRepository(PracticeContext dbContext) { _dbContext = dbContext; _entities = _dbContext.Set <T>(); }