Exemple #1
0
 public ActiveStudies getActiveStudiesObject(ActiveStudies element)
 {
     if (ActiveStudies.Contains(element))
     {
         foreach (ActiveStudies actstu in ActiveStudies)
         {
             if (element.Equals(actstu))
             {
                 return(actstu);
             }
         }
     }
     return(null);
 }
Exemple #2
0
 public ActiveStudies getActiveStudies(ActiveStudies objeec)
 {
     if (ActiveStudies.Contains(objeec))
     {
         foreach (ActiveStudies activeStudy in ActiveStudies)
         {
             if (objeec.Equals(activeStudy))
             {
                 return(activeStudy);
             }
         }
         //return null;
     }
     return(null);
 }