public async Task <(IEnumerable <City>, int)> Filter(string filter, int index, int showPerPage, string sortingColumn) { var cities = await _citiesRepository.FilterAsync(filter, index, showPerPage, sortingColumn); var quantity = await _citiesRepository.FilterCountAsync(filter, index, showPerPage, sortingColumn); return(cities, quantity); }