public async Task <IReadOnlyList <TEntity> > GetListAsync(CancellationToken cancellationToken) { return(await _dbContext.Set <TEntity>() .AsNoTracking() .ToListAsync(cancellationToken)); }
public async Task <IEnumerable <T> > AllAsync() => await _budgetDbContext.Set <T>().ToListAsync();