Exemplo n.º 1
0
        public void Invoke()
        {
            Console.WriteLine("Intast Gade navn");
            string street = Console.ReadLine();

            Console.WriteLine("Intast Hus nummer");
            string housNb = Console.ReadLine();

            Console.WriteLine("Intast Post Nummer");
            List <string> zipCodes = databaseController.GetZipCodes();
            string        zipCode;

            MenuUtility.SearchMenu(zipCodes, out zipCode);
            databaseController.InsertAddress(street, housNb, zipCode);
        }