public void Execute()
        {
            Employee e = new Employee(empid, name, address);
            PaymentClassification pc = MakeClassification();
            PaymentSchedule ps = MakeSchedule();
            PaymentMethod pm = new HoldMethod();

            e.Classification = pc;
            e.Schedule = ps;
            e.Method = pm;
            PayrollDatabase.AddEmployee(empid, e);
        }
Example #2
0
 public static void AddUnionMember(int id, Employee e)
 {
     unionMembers[id] = e;
 }
Example #3
0
 public static void AddEmployee(int id, Employee employee)
 {
     employees[id] = employee;
 }