Beispiel #1
0
 public void AddCategory(CompetitionCategory category)
 {
     if (_mCategories.Count(temp => temp.Id == category.Id) == 0)
     {
         _mCategories.Add(category);
     }
 }
Beispiel #2
0
 public void RemoveCategory(CompetitionCategory category)
 {
     _mCategories.RemoveAll(temp => temp.Id == category.Id);
 }