mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
docs(dir): 📄 suppress RCS1080 instance
This commit is contained in:
parent
948525b6a0
commit
7a7b52c4aa
1 changed files with 2 additions and 0 deletions
|
|
@ -33,7 +33,9 @@ public async Task<IEnumerable<LanguageVm>> Handle(
|
|||
CancellationToken cancellationToken)
|
||||
{
|
||||
return await _context.Languages
|
||||
#pragma warning disable RCS1080 // Use 'Count/Length' property instead of 'Any' method.
|
||||
.Where(l => l.FilterListLanguages.Any())
|
||||
#pragma warning restore RCS1080 // Use 'Count/Length' property instead of 'Any' method.
|
||||
.OrderBy(l => l.Iso6391)
|
||||
.ProjectTo<LanguageVm>(_mapper.ConfigurationProvider)
|
||||
.ToListAsync(cancellationToken);
|
||||
|
|
|
|||
Loading…
Reference in a new issue