Example #1
0
        public async void RemoveAlbum(PicasaItem album)
        {
            if (album == null)
            {
                return;
            }
            try
            {
                StartBusiness();
                var result = await SocialNetworkService.RemoveAlbumAsync(UserInfo.Id, album.Id, album.Etag);

                if (result)
                {
                    LoadData();
                }
            }
            catch (Exception ex)
            {
                Log.Write(string.Format("RemoveAlbum Error: {0}", ex.Message));
                throw;
            }
            finally
            {
                StopBusiness();
            }
        }