public static int GetAdmittedFightersNumber(int totalPartecipantsNumber)
 {
     if (totalPartecipantsNumber >= SqlDal_MasterDB.GetQualificationCap(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_16)))
     {
         return(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_16));
     }
     else if (totalPartecipantsNumber >= SqlDal_MasterDB.GetQualificationCap(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_8)))
     {
         return(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_8));
     }
     else if (totalPartecipantsNumber >= SqlDal_MasterDB.GetQualificationCap(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_4)))
     {
         return(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_4));
     }
     else
     {
         return(PhasesManager.GetQualificationCapFromPhase(PhasesType.SemiFinals));
     }
 }
 public static int GetMinFightersFor4th()
 {
     return(SqlDal_MasterDB.GetQualificationCap(PhasesManager.GetQualificationCapFromPhase(PhasesType.Finals_4)));
 }