public async Task <UserStats> GetUserStats(string AccountId) { UserStats serializedStats = await _statisticsRepository.GetUserStats(AccountId); //we have the users stats, but we now need to get the tank information for their highest xp, max xp and max kills tank All all = serializedStats.statistics.all; all.MaxDamageTank = await _tankService.GetTankById(all.max_damage_tank_id); all.MaxKillsTank = await _tankService.GetTankById(all.max_frags_tank_id); all.MaxXpTank = await _tankService.GetTankById(all.max_xp_tank_id); all.win_percent = CalculateWinPercent(all.battles, all.wins); return(serializedStats); }