public ICollection <Character> Get(Anime anime) { mLinkListParser.ID = anime.AnimeID; string characterListLink = mLinkRetriever.Get(String.Format(MAIN_URL, anime.AnimeID)); ICollection <Character> characters = mRetriever.Get(characterListLink); foreach (var character in characters) { character.CharacterAnimes.Add(new CharacterAnime() { Character = character, CharacterId = character.CharacterID, Anime = anime, AnimeId = anime.AnimeID }); } //mConsolidator.Consolidate(anime, characters); return(characters); }
public User Get(string username) { return(mRetriever.Get(String.Format(URL, username))); }