public void CheckThatWorkerWasFired(WorkSpace obj, bool ifEmployeeWorker) { if (ifEmployeeWorker == true) { obj.IfWorkerWasEmployed(); } else if (ifEmployeeWorker == false) { obj.IfWorkerWasFired(); } }