public static Task TearDownTransientTenant(FeatureContext context)
        {
            return(context.RunAndStoreExceptionsAsync(() =>
            {
                IServiceProvider provider = ContainerBindings.GetServiceProvider(context);
                ITenantProvider tenantProvider = provider.GetRequiredService <ITenantProvider>();

                ITenant tenant = context.Get <ITenant>();
                return tenantProvider.DeleteTenantAsync(tenant.Id);
            }));
        }