Пример #1
0
 public virtual async Task <IEnumerable <T> > GetAllAsync()
 {
     return(await repository.FindAllAsync());
 }
Пример #2
0
 public Task <IEnumerable <TEntity> > FindAllAsync()
 {
     return(ExecuteWithTryCatch(() => _internalRepository.FindAllAsync()));
 }