public bool CheckStringFK(string value, string valueType) { try { return(serviceUser.CheckStringFK(value, valueType)); } catch { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Connection Error! Database Server Manager Unreacheable!"); Console.ForegroundColor = ConsoleColor.DarkCyan; } return(false); }