public static void Main(string[] args) { CheckFile checkAdmin = new CheckFile(); checkAdmin.checkAdmin(); checkAdmin.checkDoctor(); checkAdmin.checkNurse(); Console.WriteLine("LOG-IN TO SYSTEM"); Console.Write("Username:"******"Password:"******"Username or password is not correct !"); }
public void createnurse() { NurseClass nurse = new NurseClass(); Console.WriteLine("New Nurse account creating"); detector(); nurse.nurse_username = username; nurse.nurse_password = password; nurse.nurse_name = name; nurse.nurse_surname = surname; nurse.nurse_pesel = pesel; nurse.writeNurse(); }