public IEnumerable <TEntity> Find(Expression <Func <TEntity, bool> > predicate) { var entities = _readerDelegate.Find(predicate).ToArray(); _publisher.Publish(new DataEvent <IEnumerable <TEntity> >(entities, EventName <TEntity> .Find)); return(entities); }
public IEnumerable <TEntity> Find(Expression <Func <TEntity, bool> > predicate) { return(ReaderDelegate.Find(predicate)); }