Beispiel #1
0
        private static string Title()
        {
            string s = "";

            s += MenuCRUDHelper.AddWithNewLine("Class1 REST consumer");
            s += MenuCRUDHelper.AddWithNewLine("--------------------");
            s += MenuCRUDHelper.NewLine();
            return(s);
        }
Beispiel #2
0
        private static string Options()
        {
            string s = "";

            s += MenuCRUDHelper.AddWithNewLine("1. GET all objects from service");
            s += MenuCRUDHelper.AddWithNewLine("2. GET one objects from service");
            s += MenuCRUDHelper.AddWithNewLine("3. DELETE object from service");
            s += MenuCRUDHelper.AddWithNewLine("4. POST object to service");
            s += MenuCRUDHelper.AddWithNewLine("5. PUT object to service");
            s += MenuCRUDHelper.AddWithNewLine("Press enter to exit.");
            s += MenuCRUDHelper.NewLine();
            s += MenuCRUDHelper.Add("Choose option: ");
            return(s);
        }