Esempio n. 1
0
 //fire
 public virtual bool Quit(Employee boss)
 {
     return boss.Fire(this);
 }
Esempio n. 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;
 }