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