예제 #1
0
        private ClubPloeg CreateClubPloeg(Reeks reeks, RankingEntryType frenoyTeam)
        {
            var clubPloeg = new ClubPloeg();

            clubPloeg.ReeksId = reeks.Id;
            clubPloeg.ClubId  = GetClubId(frenoyTeam.TeamClub);
            clubPloeg.Code    = ExtractTeamCodeFromFrenoyName(frenoyTeam.Team);
            return(clubPloeg);
        }
예제 #2
0
 private ClubPloeg CreateClubPloeg(Reeks reeks, RankingEntryType frenoyTeam)
 {
     var clubPloeg = new ClubPloeg();
     clubPloeg.ReeksId = reeks.Id;
     clubPloeg.ClubId = GetClubId(frenoyTeam.TeamClub);
     clubPloeg.Code = ExtractTeamCodeFromFrenoyName(frenoyTeam.Team);
     return clubPloeg;
 }
 private TeamOpponentEntity CreateTeamOpponent(TeamEntity teamEntity, RankingEntryType frenoyTeam)
 {
     var opponent = new TeamOpponentEntity
     {
         TeamId = teamEntity.Id,
         ClubId = GetClubId(frenoyTeam.TeamClub),
         TeamCode = ExtractTeamCodeFromFrenoyName(frenoyTeam.Team)
     };
     return opponent;
 }
        private async Task <TeamOpponentEntity> CreateTeamOpponent(TeamEntity teamEntity, RankingEntryType frenoyTeam)
        {
            var opponent = new TeamOpponentEntity
            {
                TeamId   = teamEntity.Id,
                ClubId   = await GetClubId(frenoyTeam.TeamClub),
                TeamCode = ExtractTeamCodeFromFrenoyName(frenoyTeam.Team)
            };

            return(opponent);
        }