public static void Execute(Employee employee) { employee.EmployeId = 500; EmployeeManager.Employees.Add(employee); }
public static void AddEmployee(Employee employee) { var result = WorkflowInvoker.Invoke(new Workflows.AddNewEmployee(), new Dictionary<string, object> { { "Employee", employee } }); Trace.WriteLine(employee.EmployeId); }
public static bool IsSatisfied(Employee employee) { return true; }
public void TestAddEmployee() { var employee = new Employee(){ EmployeId = 1, Name = "John"}; EmployeeManager.AddEmployee(employee); }