Exemplo n.º 1
0
        static void MenuOptions_CreateClient()
        {
            Console.Write("Please enter name of Client to add:");
            ClientDTO client = new ClientDTO();

            client.CompanyName = Console.ReadLine();

            Console.Write("Please enter address of client:");
            client.Address = Console.ReadLine();
            client.ID      = Guid.NewGuid().ToString();

            JMS_Commands.CreateClient(client);

            client = null;
            GC.Collect();
        }