public static void Main(string[] args)
        {
            var host = CreateWebHostBuilder(args).Build();

            using (var newScope = host.Services.CreateScope())
            {
                var context = newScope.ServiceProvider.GetRequiredService <AppDbContext>();
                DbInit.InitializeWithFakeData(context);
            }
            host.Run();
        }
        public static void Main(string[] args)
        {
            var host = BuildWebHost(args);

            using (var newScope = host.Services.CreateScope())
            {
                // Register the context class
                var context = newScope.ServiceProvider.GetRequiredService <AppDbContext>();
                // Call DbInit
                DbInit.InitializeWithFakeData(context);
            }

            //* NotFORGET
            host.Run();
        }