public async Task <List <BrandInfo> > GeBrandInfosAsycn(string cloudName) { var brandBll = new BrandInfoBll(); var taskList = await brandBll.GetBrandInfosAsync(cloudName); return(taskList.ToList()); }
/// <summary> /// 获取品牌的基本信息 /// </summary> /// <returns>品牌的基本信息</returns> public List <BrandInfo> GeBrandInfos(string cloudName) { var brandBll = new BrandInfoBll(); return(brandBll.GetBrandInfos(cloudName).ToList()); }