public void InsertCustomer() { Customer customer = new Customer(); DBcontroler DB = new DBcontroler(); string firstName = InputCustomer("first name"); Console.Clear(); string lastName = InputCustomer("last name"); Console.Clear(); string phone = InputCustomer("telephone number"); customer.FirstName = Customer.ChangeName(firstName); customer.LastName = Customer.ChangeName(lastName); customer.Phone = Customer.SplitPhoneNumber(phone); DB.InsertCustomer(customer); Console.WriteLine("The customer was added to the system!"); Console.ReadKey(); }