public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); PGConnection.Close(); }