Ejemplo n.º 1
0
 private void loadEmployees()
 {
     Logger.Log.Record("Begin Core.loadEmployees");
     string employeefile = Config.Settings.EmployeeFile;
     Logger.Log.Record("loading employees from " + Config.Settings.EmployeeFile);
     EmployeeLoader loader = new EmployeeLoader(employeefile);
     Logger.Log.Record("EmployeeLoader action complete");
     EmployeeValidator validator = new EmployeeValidator(loader);
     Logger.Log.Record("Employeevalidator action complete");
     validator.Validate();
     Logger.Log.Record("End Core.loadEmployees");
 }
Ejemplo n.º 2
0
 public EmployeeValidator(EmployeeLoader empLoader)
 {
     newEmployees = empLoader.TempEmployees;
     context      = new NewPayContext();
 }