/// <summary> /// Adds manga to specific user's list. /// </summary> /// <param name="addedManga">The new added manga to the list.</param> /// <param name="mangaId">The ID of the new added manga.</param> /// <returns>A string represnting the state of adding "Created" or detailed error message.</returns> public string AddManga(MangaEntry addedManga, int mangaId) { m_api.CheckAuth(); return(m_api.PostSerializedObject(addedManga, string.Format(MAL.url_addManga, mangaId))); }
/// <summary> /// Adds anime entry to specific user's list. /// </summary> /// <param name="addedAnime">The anime entry you want to add to the list.</param> /// <param name="animeId">The ID of the new added anime.</param> /// <returns>A string represnting the state of adding "Created" or detailed error message.</returns> public string AddAnime(AnimeEntry addedAnime, int animeId) { m_api.CheckAuth(); return(m_api.PostSerializedObject(addedAnime, string.Format(MAL.url_addAnime, animeId))); }