public static bool UpdateEmployee(string code, string name, string lastName, string sam, string country, string active, string systemAdmin, string email) { string fullName = name + " " + lastName; Employee employee = new Employee(code, fullName, sam, country, active, systemAdmin, email); return(EmployeeLN.getInstance().UpdateEmployee(employee)); }
public static ArrayList InitialSearch() { ArrayList employees = new ArrayList(); employees = EmployeeLN.getInstance().initialSearch(); return(employees); }
public static ArrayList SearchCode(string srchInput, string option) { ArrayList employees = new ArrayList(); employees = EmployeeLN.getInstance().searchCode(srchInput, option); return(employees); }
public static ArrayList FilterEmployee(string code, string country, string sam, string name, string active) { return(EmployeeLN.getInstance().FilterEmployee(code, name, sam, country, active)); }
public static bool DeleteEmployee(string code) { return(EmployeeLN.getInstance().DeleteEmployee(code)); }