private static void TestAddAnimeByObject(ICredentialContext credential) { var methods = new AnimeListMethods(credential); var animeValues = new AnimeValues { AnimeStatus = AnimeStatus.Watching, Comments = "It was a great series." }; var responseText = methods.AddAnime(ANIME_ID, animeValues); Console.WriteLine(responseText); }
private static void TestAddAnime(ICredentialContext credential) { var methods = new AnimeListMethods(credential); var responseText = methods.AddAnime(ANIME_ID, _animeData); Console.WriteLine(responseText); }