public void AddEmployee(int ID, string name, string password, string function) { foreach (Inlog employee in employeeList) { if (employee.werknemer_ID == ID) { inlog_db.AlterStatusEmployee(ID); return; } } inlog_db.AddUser(ID, password, name, function); }
public void AddEmployee(int ID, string name, string password, string function) { inlog_db.AddUser(ID, password, name, function); }