Пример #1
0
        public async Task <Image> DownLoadEventImgAsync(int eventId)
        {
            string address = string.Format("{0}\\{1}", WEBAPI_BASE_EVENT_PICURE, eventId);

            return(await HttpClientUtils.DownLoadImage(address));
        }
Пример #2
0
        public async Task <Image> DownLoadPersonImgAsync(int personId)
        {
            string address = string.Format("{0}\\{1}", WEBAPI_BASE_PERSON_PICURE, personId);

            return(await HttpClientUtils.DownLoadImage(address));
        }