public async Task <object> GetRecentMatch(string userId)
        {
            try
            {
                HttpResponseMessage response = await client.GetAsync(dotaRemoteRepoManager.GetUserRecentMatchsById(userId));

                response.EnsureSuccessStatusCode();
                string responseBody = await response.Content.ReadAsStringAsync();

                RecentMatch[] recentMatchs = RecentMatch.FromJson(responseBody);

                List <Match> returnMatchs = new List <Match>();

                foreach (RecentMatch match in recentMatchs)
                {
                    Match playerMatch = new Match();

                    playerMatch.assist = match.Assists;
                    playerMatch.death  = match.Deaths;
                    playerMatch.gpm    = match.GoldPerMin;
                    playerMatch.myHero = await dataFactory.GetHerosById(match.HeroId);

                    playerMatch.isWon   = matchHandler.IsWon(match);
                    playerMatch.kill    = match.Kills;
                    playerMatch.matchId = match.MatchId;

                    returnMatchs.Add(playerMatch);
                }

                return(Json(returnMatchs,
                            new JsonSerializerSettings {
                    ContractResolver = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver(),
                    Formatting = Formatting.Indented
                }));
            }
            catch (HttpRequestException e)
            {
                return(Ok("no match found"));
            }
        }