Ejemplo n.º 1
0
 public static void AddUnionMember(int memberId, Employee employee)
 {
     if (unionMembers.ContainsKey(employee))
     {
         unionMembers[employee] = memberId;
     }
     else
     {
         unionMembers.Add(employee, memberId);
     }
 }
Ejemplo n.º 2
0
 public static void AddEmployee(int empid, Employee employee)
 {
     employees[empid] = employee;
 }
 protected abstract void Change(Employee employee);