BookServiceClientApp.Program.Main C# (CSharp) Method

Main() static private method

static private Main ( ) : void
return void
        static void Main()
        {
            WriteLine("Client app, wait for service");
            try
            {
                ReadLine();
                ReadChaptersAsync().Wait();
                ReadChapterAsync().Wait();
                ReadNotExistingChapterAsync().Wait();
                ReadXmlAsync().Wait();
                AddChapterAsync().Wait();
                UpdateChapterAsync().Wait();
                RemoveChapterAsync().Wait();
            }
            catch (Exception ex)
            {
                WriteLine(ex.Message);
            }
            ReadLine();
        }