예제 #1
0
파일: Program.cs 프로젝트: delficaffa/REPO
        public static void MenuAgregarCliente()
        {
            var nuevoCliente = new ClienteDTO();

            Console.WriteLine("Ingrese el nombre de la compañia");
            nuevoCliente.CompanyName = Console.ReadLine();
            Console.WriteLine("Ingrese el nombre del contacto");
            nuevoCliente.ContactName = Console.ReadLine();
            Console.WriteLine("Ingrese el titulo de dicho contacto");
            nuevoCliente.ContactTitle = Console.ReadLine();
            Console.WriteLine("Ingrese el Id");
            nuevoCliente.CustomerID = Console.ReadLine();
            Console.WriteLine("Ingrese la ciudad");
            nuevoCliente.City = Console.ReadLine();

            Consultas.Agregar(nuevoCliente);
        }