refactor(dir): ♻🔥 rm VS extension suppression

This commit is contained in:
Collin M. Barrett 2021-11-02 14:20:20 -05:00
parent 6866fefc9c
commit c5d6af9e90

View file

@ -33,9 +33,7 @@ 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);