public void AddEmployee(EmployeeModel employee) { CurrentEmployee.Add(employee); CurrentEmployee = employee; }
public List <PersonComponent> ExecuteAlgorithm(EmployeeModel element) { List <PersonComponent> result = ContextStrategy.DoAlgorithm(element);; return(result); }
public void AddRoot(EmployeeModel root) { Root = root; CurrentEmployee = Root; }
public ShowByHeightStrategy(EmployeeModel element) { this.element = element; }