public static async Task Main(string[] args)
        {
            var host = CreateHostBuilder(args).Build();

            using (var scope = host.Services.CreateScope())
            {
                var services      = scope.ServiceProvider;
                var loggerFactory = services.GetRequiredService <ILoggerFactory>();
                //try
                //{
                var context     = services.GetRequiredService <ApplicationDbContext>();
                var userManager = services.GetRequiredService <UserManager <IdentityUser> >();
                var roleManager = services.GetRequiredService <RoleManager <IdentityRole> >();
                await ContextSeed.SeedRolesAsync(userManager, roleManager);

                await ContextSeed.SeedSuperAdminAsync(userManager);

                await ContextSeed.SeedIdentityUsersAsync(userManager);

                await ContextSeed.SeedKanbanTasksAsync(new KanbanTaskManager(context), userManager);

                //}
                //catch (Exception ex)
                //{
                //    var logger = loggerFactory.CreateLogger<Program>();
                //    logger.LogError(ex, "An error occurred seeding the DB.");
                //}
            }
            host.Run();
        }