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