private static void NewCustomer() { bool localrestart = true; while (localrestart) { Console.WriteLine("Please input your name, or what you would like to be called by!"); Customer nCust = new Customer(Console.ReadLine()); Console.WriteLine($"You put {nCust.Name}, is that right? 1 to continue, or 2 to re-assign your name."); switch (Common.Answer(1, 2)) { case 1: { PizzaBoxContext.Save <Customer>(_context, nCust); nCust = PizzaBoxContext.CustomerReadString(nCust.Name, _context.Customers); localrestart = false; Console.WriteLine($"Your name, {nCust.Name}, has been saved! Your ID is: {nCust.EntityID}"); OrderCreation(nCust); break; } case 2: { break; } default: { Console.WriteLine("You shouldn't be here, again."); break; } } }//end while loop }