public static IHost InitializeDatabase(this IHost host) =>
 host.AsContinuation <string, IHost>()
 .Then(host => host.Services.CreateScope())
 .Then(services => services.ServiceProvider.GetRequiredService <SnackBarContext>())
 .Then(context => Initialize(context))
 .Match(
     s => host,
     f => throw new Exception("Não foi possível inicializa o banco")