public async Task SortAsync(ISort sort) { if (sort != null) { await sort.RunAsync(await _sentenceRepository.GetAllAsync()); } }
public async Task SortAsync(ISort sort) => await sort.RunAsync(await _sentenceRepository.GetAllAsync());