예제 #1
0
 public void AddType(CompetitionType type)
 {
     if (_mTypes.Count(temp => temp.Id == type.Id) == 0)
     {
         _mTypes.Add(type);
     }
 }
예제 #2
0
 public void RemoveType(CompetitionType type)
 {
     _mTypes.RemoveAll(temp => temp.Id == type.Id);
 }