Пример #1
0
        /// <summary>
        /// Deletes existing manga from user's list.
        /// </summary>
        /// <param name="mangaId">The manga ID to delete from the list.</param>
        /// <returns>A string represnting the state of deleting "Deleted" or detailed error message.</returns>
        public string DeleteManga(int mangaId)
        {
            m_api.CheckAuth();

            return(m_api.Post(string.Format(MAL.url_deleteManga, mangaId)));
        }
Пример #2
0
 /// <summary>
 /// Deletes existing anime from user's list.
 /// </summary>
 /// <param name="animeId">The anime ID to delete from the list.</param>
 /// <returns>A string represnting the state of deleting "Deleted" or detailed error message.</returns>
 public string DeleteAnime(int animeId)
 {
     m_api.CheckAuth();
     return(m_api.Post(string.Format(MAL.url_deleteAnime, animeId)));
 }