Beispiel #1
0
 public bool AddAward(Award award)
 {
     if (Awards.Any(x => x.Id == award.Id || x.Title == award.Title))
     {
         return(false);
     }
     Awards.Add(award);
     return(true);
 }