Exemplo n.º 1
0
 public void HRProcess(Worker worker)
 {
     Farm.Instance().Workers.Remove(worker);
     Console.WriteLine("Worker Id " + worker.WorkersId + " was fired");
 }
Exemplo n.º 2
0
 public void HRProcess(Worker worker)
 {
     worker.WorkersId = Farm.Instance().Workers.Count();
     Farm.Instance().Workers.Add(worker);
     Console.WriteLine("Worker Id " + worker.WorkersId + " was hired");
 }