public void DeleteEmployee(Employee empl) { Employees.Remove(empl); Bank.DeleteEmployee(empl); }
public ADepartament(Bank Bank, string Name) { this.Bank = Bank; this.Name = Name; Employees = new List <Employee>(); }
public void AddNewEmployee(Employee employee) { Employees.Add(employee); Bank.AddEmployee(employee); }