예제 #1
0
 public static bool InsertNewEmployee(EEmployees employee)
 {
     if (employee.TCNo == "" || employee.FirstName == "" || employee.LastName == "" || employee.Phone == "")
     {
         return(false);
     }
     else
     {
         DALEmployees.InsertNewEmployee(employee);
         return(true);
     }
 }
예제 #2
0
 public static bool Delete(EEmployees employee)
 {
     DALEmployees.Delete(employee);
     return(true);
 }
예제 #3
0
 public static bool Update(EEmployees employee)
 {
     DALEmployees.Update(employee);
     return(true);
 }
예제 #4
0
 public static List <EEmployees> GetEmployeeNames()
 {
     return(DALEmployees.GetMemberNames());
 }
예제 #5
0
 public static EEmployees GetIdOnly(int employeeID)
 {
     return(DALEmployees.GetIdOnly(employeeID));
 }
예제 #6
0
 public static List <EEmployees> GetAll()
 {
     return(DALEmployees.GetAll());
 }