public GenericRepository(HanifWorkShop_DBEntity context) { this.context = context; this.dbSet = context.Set <TEntity>(); }