Ejemplo n.º 1
0
 /// <summary>
 /// Gets a collection of all bookmark folders of the current user
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public async Task <IEnumerable <BookmarkFolderInfo> > GetBookmarkFoldersAsync(RequestOptions options = null)
 {
     return((await Client.ApiClient.GetCurrentUserBookmarkFoldersAsync(options).ConfigureAwait(false)).Select(folder => BookmarkFolderInfo.Create(Client, folder)));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Moves this album to another location in the folder tree
 /// </summary>
 /// <param name="parent"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public async Task MoveFolderAsync(BookmarkFolderInfo parent, RequestOptions options = null)
 {
     await Client.ApiClient.MoveBookmarkFolderAsync(Id, parent.Id, options).ConfigureAwait(false);
 }