public bool FavoriteTweet(ITweetDTO tweetDTO) { if (tweetDTO == null) { return(false); } // if the favourite operation failed the tweet should still be favourited if it previously was tweetDTO.Favorited |= _tweetQueryExecutor.FavoriteTweet(tweetDTO); return(tweetDTO.Favorited); }
public Task <ITwitterResult <ITweetDTO> > FavoriteTweet(IFavoriteTweetParameters parameters, ITwitterRequest request) { return(_tweetQueryExecutor.FavoriteTweet(parameters, request)); }