示例#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));
        }
示例#2
0
        public static ArrayList InitialSearch()
        {
            ArrayList employees = new ArrayList();

            employees = EmployeeLN.getInstance().initialSearch();
            return(employees);
        }
示例#3
0
        public static ArrayList SearchCode(string srchInput, string option)
        {
            ArrayList employees = new ArrayList();

            employees = EmployeeLN.getInstance().searchCode(srchInput, option);
            return(employees);
        }
示例#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));
 }
示例#5
0
 public static bool DeleteEmployee(string code)
 {
     return(EmployeeLN.getInstance().DeleteEmployee(code));
 }