public void Execute() { IPaymentClassification pc = MakeClassification(); IPaymentSchedule ps = MakeSchedule(); IPaymentMethod pm = new HoldMethod(); IAffiliation af = new NoAffiliation(); Employee e = new Employee(_empId, _name, _address); e.Classification = pc; e.Schedule = ps; e.Method = pm; e.Affiliation = af; PayrollDatabase.AddEmlpoyee(e.EmpId, e); }