Skip to content

Commit

Permalink
small fix to register new services in DI container for client-side Bl…
Browse files Browse the repository at this point in the history
…azor
  • Loading branch information
sbwalker committed May 24, 2019
1 parent 8deb119 commit 9116bc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Oqtane.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ public void ConfigureServices(IServiceCollection services)
services.AddSingleton<IThemeRepository, ThemeRepository>();

// register transient scoped core services
services.AddTransient<ITenantResolver, TenantResolver>();
services.AddTransient<IAliasRepository, AliasRepository>();
services.AddTransient<ITenantRepository, TenantRepository>();
services.AddTransient<ISiteRepository, SiteRepository>();
services.AddTransient<IPageRepository, PageRepository>();
Expand Down

0 comments on commit 9116bc3

Please sign in to comment.