- Updated `IRepository<TEntity>.Where()` to accept an `Expression<Func<TEntity, bool>>` for filtering. - Added `where TEntity : IEntity` constraint to `IRepository.Entity<TEntity>()` method. - No functional logic changes, only interface refactoring for stronger typing and query support.