Exemplo n.º 1
0
    public static TraktSyncResponse AddMovieToCollection(TraktSyncMovieCollected movie)
    {
      var movies = new TraktSyncMoviesCollected
      {
        Movies = new List<TraktSyncMovieCollected>() { movie }
      };

      return AddMoviesToCollecton(movies);
    }
Exemplo n.º 2
0
 public static TraktSyncResponse AddMoviesToCollecton(TraktSyncMoviesCollected movies)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncCollectionAdd, movies.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }