/// <summary> /// Used to connection database /// </summary> static bool ConnectionToDatabase() { try { reception = new Reception(connection); reception.GetRoomNumbers(); } catch (Exception exception) { LabelFatalError(); Console.WriteLine("Kunne ikke forbinde til databasen! - " + exception.Message); Console.ReadKey(); return(false); } return(true); }