Пример #1
0
        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.Favourited |= _tweetQueryExecutor.FavouriteTweet(tweetDTO);
            return(tweetDTO.Favourited);
        }
Пример #2
0
 public bool FavoriteTweet(ITweetDTO tweetDTO)
 {
     return(_tweetQueryExecutor.FavouriteTweet(tweetDTO));
 }