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