public void AddEmployee(Employee employee) { SaveEmployeeOperation operation = new SaveEmployeeOperation(employee, connection); operation.Execute(); }
public void AddEmployee(Employee employee) { SaveEmployeeOperation saveEmployeeOperation = new SaveEmployeeOperation(connection, employee); saveEmployeeOperation.Excute(); }