public static async Task <IEnumerable <ITweetList> > GetUserLists(string userScreenName, bool getOwnedListsFirst)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userScreenName, getOwnedListsFirst)));
 }
 public static async Task <ITweetList> GetExistingList(string slug, string userScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userScreenName)));
 }
 public static async Task <IEnumerable <ITweetList> > GetUserLists(IUserIdentifier userDTO, bool getOwnedListsFirst)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userDTO, getOwnedListsFirst)));
 }
 public static async Task <ITweetList> GetExistingList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(listId)));
 }
 public static async Task <ITweetList> GetExistingList(string slug, IUserIdentifier userDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userDTO)));
 }
 public static async Task <ITweetList> UpdateList(long listId, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(listId, parameters)));
 }
 public static async Task <bool> DestroyList(ITweetListDTO tweetListDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(tweetListDTO)));
 }
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, IUserIdentifier ownerDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerDTO)));
 }
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, long ownerId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerId)));
 }
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(ITweetListDTO tweetListDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(tweetListDTO)));
 }
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(listId)));
 }
 public static async Task <bool> DestroyList(string slug, string ownerScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerScreenName)));
 }
 public static async Task <bool> DestroyList(string slug, IUserDTO ownerDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerDTO)));
 }
 public static async Task <bool> DestroyList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(listId)));
 }
 // Create List
 public static async Task <ITweetList> CreateList(string name, PrivacyMode privacyMode, string description = null)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.CreateList(name, privacyMode, description)));
 }
 public static async Task <IEnumerable <IUser> > GetMembersOfList(ITweetListDTO tweetListDTO, int maxNumberOfUsersToRetrieve = 100)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(tweetListDTO, maxNumberOfUsersToRetrieve)));
 }
 public static async Task <ITweetList> UpdateList(ITweetListDTO tweetListDTO, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(tweetListDTO, parameters)));
 }
 public static async Task <IEnumerable <IUser> > GetMembersOfList(string slug, long ownerId, int maxNumberOfUsersToRetrieve = 100)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(slug, ownerId, maxNumberOfUsersToRetrieve)));
 }
 public static async Task <ITweetList> UpdateList(string slug, IUserIdentifier ownerDTO, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(slug, ownerDTO, parameters)));
 }
 public static async Task <ITweetList> UpdateList(string slug, string ownerScreenName, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(slug, ownerScreenName, parameters)));
 }