Skip to content

Commit

Permalink
Removed service registrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
tidyui committed Dec 13, 2023
1 parent 61af42f commit 5da21dd
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions core/Piranha/Extensions/PiranhaStartupExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,6 @@ public static IServiceCollection AddPiranha(this IServiceCollection services,

services.AddSingleton<IContentFactory, ContentFactory>();

services.AddScoped<IAliasService, AliasService>();
services.AddScoped<IArchiveService, ArchiveService>();
services.AddScoped<IContentGroupService, ContentGroupService>();
services.AddScoped<IContentService, ContentService>();
services.AddScoped<IContentTypeService, ContentTypeService>();
services.AddScoped<ILanguageService, LanguageService>();
services.AddScoped<IMediaService, MediaService>();
services.AddScoped<IPageService, PageService>();
services.AddScoped<IPageTypeService, PageTypeService>();
services.AddScoped<IParamService, ParamService>();
services.AddScoped<IPostService, PostService>();
services.AddScoped<IPostTypeService, PostTypeService>();
services.AddScoped<ISiteService, SiteService>();
services.AddScoped<ISiteTypeService, SiteTypeService>();

services.AddScoped<IApi, Api>();
services.AddScoped<Config>();

Expand Down

0 comments on commit 5da21dd

Please sign in to comment.