public async Task<bool> AddFavoriteTeam(int idUser, int idTeam)
        {
            IChampionshipsDataAccess daTeams = new ChampionshipsAPIAccess();
            int idChampionship = await daTeams.GetChampionshipIdByTeamId(idTeam);
            FavoriteTeamsUser fav = new FavoriteTeamsUser() { idTeam = idTeam, idUser = idUser, idChampionship = idChampionship};

            var json = JsonConvert.SerializeObject(fav);
            HttpContent content = new StringContent(json, Encoding.UTF8, "application/json");
            HttpResponseMessage response = await client.PostAsync("api/favoriteTeamsUsers", content);
            if (response.IsSuccessStatusCode)
                return true;
            return false;
        }
        public async Task<List<TeamInfo>> GetUserTeams(FavoriteTeamsUser[] teams)
        {
            List<TeamInfo> favTeams = new List<TeamInfo>();

            foreach (var item in teams)
            {
                HttpResponseMessage response = await client.GetAsync(@"http://api.football-data.org/v1/teams/" + item.idTeam);
                string json = await response.Content.ReadAsStringAsync();
                var lt = JsonConvert.DeserializeObject<TeamInfo>(json);
                lt.id = item.idTeam;
                favTeams.Add(lt);
            }

            return favTeams;
        }