/// <summary>
 /// Deletes the given model.
 /// </summary>
 /// <param name="model">The media</param>
 public static void DeleteFolder(this MediaService service, MediaFolder model)
 {
     service.DeleteFolderAsync(model).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes the media folder with the given id.
 /// </summary>
 /// <param name="id">The unique id</param>
 public static void DeleteFolder(this MediaService service, Guid id)
 {
     service.DeleteFolderAsync(id).GetAwaiter().GetResult();
 }