static void Details() { Console.WriteLine("Digite o Número Serial"); var serialNumber = Console.ReadKey(); Console.WriteLine(); Endpoint endpoint = _service.GetBySerialNumber($"v1/endpoints/{serialNumber.KeyChar}"); if (endpoint == null) { Console.WriteLine("-----------------------------------"); Console.WriteLine("Nenhum Registro econtrado"); return; } ShowEndpointDetails(endpoint); }