Esempio n. 1
0
        public static TraktSyncResponse AddEpisodeToCollection(TraktSyncEpisodeCollected episode)
        {
            var episodes = new TraktSyncEpisodesCollected
            {
                Episodes = new List<TraktSyncEpisodeCollected>() { episode }
            };

            return AddEpisodesToCollecton(episodes);
        }
Esempio n. 2
0
 public static TraktSyncResponse AddEpisodesToCollecton(TraktSyncEpisodesCollected episodes)
 {
     var response = PostToTrakt(TraktURIs.SyncCollectionAdd, episodes.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }