public bool AddNewEmployee(Employee newEmployee) { int rows; try { rows = EmployeeAccessor.InsertNewEmployee(newEmployee); } catch (Exception) { throw; } if (rows == 1) { return(true); } else { return(false); } }
public bool AddNewEmployee(Employee newEmployee) { int rows; try { rows = EmployeeAccessor.InsertNewEmployee(newEmployee); } catch (Exception) { throw; } if (rows == 1) { return(true); } else { return(false); } }