/// <summary> /// 根据所有地区信息 /// </summary> /// <param name="categoryName"></param> /// <returns></returns> public async Task <List <MiniRegion> > GetAllMiniRegionAsync() { using (var client = new RegionClient()) { var clientResult = await client.GetAllMiniRegionAsync(); clientResult.ThrowIfException(true); return(clientResult.Result?.ToList()); } }