Exemplo n.º 1
0
 public virtual Task <T> GetAsync(Expression <Func <T, bool> > predicate)
 {
     return(repository.FindAsync(predicate));
 }
Exemplo n.º 2
0
 Task <TEntity> IRepository <TEntity> .FindAsync <TChild1>(
     Expression <Func <TEntity, bool> > expression,
     Expression <Func <TEntity, object> > tChild1)
 {
     return(ExecuteWithTryCatch(() => _internalRepository.FindAsync <TChild1>(expression, tChild1)));
 }