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

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