Exemple #1
0
        // Create a method that allows a caller to remove an employee
        public void RemoveEmployee(string removedEmployee)
        {
            var formerEmployee = removedEmployee;

            CurrentEmployees.Remove(formerEmployee);
        }
Exemple #2
0
        // Create a method that allows a caller to add an employee
        public void AddEmployee(string employee)
        {
            var newEmployee = employee;

            CurrentEmployees.Add(newEmployee);
        }