Beispiel #1
0
        public async Task <SocialNetworkStatus> CreateStatusAsync(string message)
        {
            var tweet = await Sync.ExecuteTaskAsync(() => Auth.ExecuteOperationWithCredentials(_credentials, () => Tweet.PublishTweet(message)));

            return(mapper.Map <SocialNetworkStatus>(tweet));
        }