private static void StartRiskCurrency() { Console.Write("Enter currency id and Press Enter:"); long?currId = TryReadLong(); if (currId == null) { Console.WriteLine("Invalid value."); return; } ShowIndentedJson(mmRestService.StartCurrencyRisk(currId.Value)); }