Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        public static ArrayList InitialSearch()
        {
            ArrayList employees = new ArrayList();

            employees = EmployeeLN.getInstance().initialSearch();
            return(employees);
        }
Ejemplo n.º 3
0
        public static ArrayList SearchCode(string srchInput, string option)
        {
            ArrayList employees = new ArrayList();

            employees = EmployeeLN.getInstance().searchCode(srchInput, option);
            return(employees);
        }
Ejemplo n.º 4
0
 public static ArrayList FilterEmployee(string code, string country, string sam, string name, string active)
 {
     return(EmployeeLN.getInstance().FilterEmployee(code, name, sam, country, active));
 }
Ejemplo n.º 5
0
 public static bool DeleteEmployee(string code)
 {
     return(EmployeeLN.getInstance().DeleteEmployee(code));
 }