예제 #1
0
파일: Program.cs 프로젝트: NeilsC/AsyncDemo
 private static async Task<string> DownloadImageAsync(IImageService imageService, long imageId)
 {
     Console.WriteLine("[{1}] Downloading image with ID ({0})", imageId, AppDomain.GetCurrentThreadId());
     return await imageService.DownloadImageAsync(imageId);
 }