protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            if (e.Args.Length == 2)
            {
                GlobalVariables.ApiKey = e.Args[0];
                GlobalVariables.PostgreConnectionString = e.Args[1];
            }
            else
            {
                Console.WriteLine("Wrong Usage.\nPlease add the API Key and the Postgre Connection String to the debug commandline arguments");
                Shutdown();
            }

            CardDatabaseController cdc = new CardDatabaseController();
            Card card = cdc.GetCardByName("Wisp");
        }
 public MainWindowController()
 {
     deckDatabaseController = new DeckDatabaseController();
     cardDatabaseController = new CardDatabaseController();
     currentCardList = cardDatabaseController.GetAllCards();
 }
 public DeckCreatorWindowController()
 {
     cardDatabaseController = new CardDatabaseController();
     deckDatabaseController = new DeckDatabaseController();
     currentCardList = cardDatabaseController.GetAllCards();
 }