예제 #1
0
 public static void Execute(Employee employee)
 {
     employee.EmployeId = 500;
     EmployeeManager.Employees.Add(employee);
 }
예제 #2
0
        public static void AddEmployee(Employee employee)
        {
            var result = WorkflowInvoker.Invoke(new Workflows.AddNewEmployee(), new Dictionary<string, object> { { "Employee", employee } });

            Trace.WriteLine(employee.EmployeId);
        }
예제 #3
0
 public static bool IsSatisfied(Employee employee)
 {
     return true;
 }
예제 #4
0
 public void TestAddEmployee()
 {
     var employee = new Employee(){ EmployeId = 1, Name = "John"};
     EmployeeManager.AddEmployee(employee);
 }