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

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