private static ISailBuilder AddConfigurationStore <TContext>( this ISailBuilder builder, Action <ConfigurationStoreOptions> storeOptionsAction = null) where TContext : DbContext, IConfigurationDbContext { builder.Services.AddConfigurationDbContext <TContext>(storeOptionsAction); builder.AddTenantStore <TenantStore>(); builder.AddServiceStore <ServiceStore>(); builder.AddAccessControlStore <AccessControlStore>(); return(builder); }