private static void AddPhotosToPhotoset(string photosetName, string photosetId, List <string> photoIds) { Console.WriteLine(); Logger.Info("Moving uploaded files to the photoset..."); //todo: move to FlickrService var fails = FlickrService.ParallelExecute(photoIds, id => Uploader.AddPictureToPhotoSet(id, photosetId), Settings.BatchSizeForParallelProcessing); if (!fails.Any()) { Logger.Info("Uploaded pictures were successfully moved to '{0}'.", photosetName); } else { Logger.Error("Moved with errors:"); foreach (var fail in fails) { Logger.Error("{0,-20}: {1}", fail.Key, fail.Value); } } }