Changed UpdateAsync and DeleteAsync to accept Func<IQueryable<TEntity>, IQueryable<TEntity>> instead of IQueryable<TEntity> Improved flexibility by allowing callers to compose queries dynamically Updated overloads to wrap expressions with q => q.Where(expression) for compatibility