示例#1
0
        private static void TestAddAnime(ICredentialContext credential)
        {
            var methods      = new AnimeListMethods(credential);
            var responseText = methods.AddAnime(ANIME_ID, _animeData);

            Console.WriteLine(responseText);
        }
示例#2
0
        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);
        }