Is this a good or bad idea?
public interface IRepository<T>
{
...
IList<T> Get(Func<T, bool> predicate)
...
}
I mean - it seems really powerful addition and i could implement it too (at least - to some level) but my guts tells me it's kind a wrong. Could anyone enlighten me?