Пример #1
0
 public void AddRecipient(Person person)
 {
     if (!Repo.GetList().Contains(person))
     {
         Repo.Add(person);
         Logger.Write(string.Format("added {0}", person));
     }
     else
     {
         throw new AlreadyExistsException();
     }
 }