public bool AddEmployee(Employee employee) { if (string.IsNullOrWhiteSpace(employee.FirstName) & employee.FirstName.Length > 15) { return(false); } bool isAdded = employeeManagement.AddEmployee(employee); return(isAdded); }
public bool AddEmployee(Employee employee) { if (string.IsNullOrWhiteSpace(employee.FirstName) & employee.FirstName.Length > 15) { return(false); } bool isAdded = employeeManagement.AddEmployee(employee); return(isAdded); }