public static bool isPromoted(D.Employee employee) { if (employee.experience >= 5) { return(true); } else { return(false); } }
static bool findEmployee(Employee emp) { return emp.Id == 1; }
public static bool isPromoted(D.Employee employee) { if (employee.experience >= 5) { return(true); } else { return(false); } }
static bool findEmployee(Employee emp) { return emp.Id == 1; }