public static void show() { do { CleanConsole.clean(); UserMenu.show(); switch (option = Console.ReadLine()) { case "1": UserRegister.show(); break; case "2": UserEdit.show(); break; case "3": UserDelete.show(); break; case "4": UserShow.show(); break; } } while (!option.Equals("5")); }
public static void show() { CleanConsole.clean(); Console.WriteLine("_____________________________"); Console.WriteLine(" USER DELETE "); Console.WriteLine("_____________________________"); Console.WriteLine("Enter User id: "); string uuid = Console.ReadLine(); HandleDelete <User> .action(listContainer.userList, uuid); }
public static void show() { do { CleanConsole.clean(); MainMenu.show(); switch (option = Console.ReadLine()) { case "1": UserSwich.show(); break; } } while (!option.Equals("2")); }
public static void show() { CleanConsole.clean(); Console.WriteLine("_____________________________"); Console.WriteLine(" USER REGISTER "); Console.WriteLine("_____________________________"); User user = new User(); Console.WriteLine("Username: "******"_____________________________"); Console.WriteLine("Password: "******"_____________________________"); valid(user); Console.Write("\nPress Enter To continue"); Console.ReadLine(); }
public static void show() { CleanConsole.clean(); Console.WriteLine("_____________________________"); Console.WriteLine(" USER SHOW "); Console.WriteLine("_____________________________"); //Persistence<User>.read(); foreach (var user in Persistence <User> .read()) { Console.WriteLine("* *"); Console.WriteLine(" USER "); Console.WriteLine($"Uuid: {user.uuid}"); Console.WriteLine($"Username: {user.userName}"); Console.WriteLine($"Password: {user.password}"); Console.WriteLine("_____________________________"); } Console.Write("Press Enter To continue"); Console.ReadLine(); }
public static void show() { CleanConsole.clean(); Console.WriteLine("_____________________________"); Console.WriteLine(" USER EDIT "); Console.WriteLine("_____________________________"); Console.WriteLine("Enter New Username: "******"_____________________________"); Console.WriteLine("Enter New Password: "******"_____________________________"); Console.WriteLine("Enter User id: "); string uuid = Console.ReadLine(); valid(user, uuid); Console.Write("\nPress Enter To continue"); Console.ReadLine(); }