/// <summary> /// Based on input EId and EPwd, check if the user is valid /// </summary> /// <param name="emp"></param> /// <returns></returns> public bool EmployeeLogin(Employee emp) { return(emDAL.CommandForLogin(emp) == null ? false : true); }