示例#1
0
 public static bool DeleteEmployee(Employee employee)
 {
     return(EmployeeDb.DeleteEmployee(employee.Id));
 }
示例#2
0
 public static bool UpdateEmployee(Employee employee)
 {
     return(EmployeeDb.UpdateEmployee(employee.Id, employee.Name, employee.ContactInfo, employee.JoinDateTime,
                                      employee.Active));
 }