Ejemplo n.º 1
0
 public bool Account_Create(int num, int id, string type)
 {
     if (!bank.BOOL_AccountNumberAvailable(num))
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Console.WriteLine("\nError: That Account Number is already in use.");
         Thread.Sleep(1500);
         return(false);
     }
     return(bank.CreateAccount(num, id, type));
 }