예제 #1
0
        public async Task <List <BrandInfo> > GeBrandInfosAsycn(string cloudName)
        {
            var brandBll = new BrandInfoBll();
            var taskList = await brandBll.GetBrandInfosAsync(cloudName);

            return(taskList.ToList());
        }
예제 #2
0
        /// <summary>
        /// 获取品牌的基本信息
        /// </summary>
        /// <returns>品牌的基本信息</returns>
        public List <BrandInfo> GeBrandInfos(string cloudName)
        {
            var brandBll = new BrandInfoBll();

            return(brandBll.GetBrandInfos(cloudName).ToList());
        }