public string GetSummonerGamesById() { try { using (this.client = new WebClient()) { summonerGamesResponse = client.DownloadString(URLManager.SummonerGamesById(summonerId)); } responseCode = "#02"; } catch (Exception ex) { return("#03"); } try { idName = ReaderManager.FileReader(jsonFilePath); SummonerGames summonerGamesModel = SerializerManager.SummonerGamesSerializer(summonerGamesResponse); this.SummonerGames = NameManager.GamesNameFiller(summonerGamesModel, this.summonerName, idName); } catch (Exception ex) { throw new ArgumentException("Either response serializing or finding name went wrong " + ex.Message); } return(responseCode); }