//vérifie si il y a un transfert après le match si et seulement si le match est avant l'intersaison (le classement n'intervient que dans la condition de transfert en intersaison)
        public static bool checkTransfertApres(Guid matchId)
        {
            try
            {
                MatchsService match     = new MatchsService();
                DateTime      dateMatch = match.getMatchDate(matchId);

                IntersaisonsService inter = new IntersaisonsService();
                DateTime            dateDebutIntersaison = inter.GetDateDebut(dateMatch.Year);
                DateTime            dateFinIntersaison   = inter.GetDateFin(dateMatch.Year);

                if (dateDebutIntersaison > dateMatch)
                {
                    ChampionnatsService cs = new ChampionnatsService();
                    Guid championnatId     = cs.GetListeObject().FirstOrDefault(x => x.annee == dateMatch.Year).championnatId;

                    EquipesParticipationsService eps     = new EquipesParticipationsService();
                    List <EquipesModele>         lEquipe = eps.getEquipesParticipantes(championnatId);

                    TransfertsHistoryService ths         = new TransfertsHistoryService();
                    List <TransfertsModele>  lTransferts = ths.GetListeObject().Where(x => (x.dateDebut >= dateDebutIntersaison &&
                                                                                            x.dateDebut <= dateFinIntersaison) ||
                                                                                      (x.dateFin >= dateDebutIntersaison &&
                                                                                       x.dateFin <= dateFinIntersaison))
                                                           .ToList();

                    foreach (TransfertsModele transfert in lTransferts)
                    {
                        if (lEquipe.Any(x => x.equipeId == transfert.equipeId))
                        {
                            return(true);
                        }
                    }
                }
                return(false);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }