public async Task <IEnumerable <Ward> > GetWardByDistrict(string district) { FilterDefinition <Ward> builder = Builders <Ward> .Filter.Eq("district_code", district); IEnumerable <Ward> result = (await wardRepository.FindListAsync(builder)).AsEnumerable(); return(result); }