示例#1
0
        static void List()
        {
            List <Endpoint> endpoints = _service.GetAll("v1/endpoints").ToList();

            if (endpoints.Count() == 0)
            {
                Console.WriteLine("-----------------------------------");
                Console.WriteLine("Nenhum Registro econtrado");
            }

            foreach (var endpoint in endpoints)
            {
                ShowEndpointDetails(endpoint);
            }
        }