Пример #1
0
 //fire
 public virtual bool Quit(Employee boss)
 {
     return boss.Fire(this);
 }
Пример #2
0
 public bool Fire(Employee boss, Employee subordinate)
 {
     if(boss == null || subordinate == null) return false;
       bool orgFire;
       Names.Remove(subordinate.Name);
       orgFire = boss.Fire(subordinate);
       return orgFire;
 }