Move IConfigurationService from CoreStartup to ClientStartup

This commit is contained in:
Matija Koželj 2023-01-20 12:06:42 +01:00
parent 9388dcbcc5
commit c38549a17e
2 changed files with 1 additions and 1 deletions

View File

@ -34,6 +34,7 @@ public class ClientStartup : IStartup
services.AddSingleton<EventConnection>();
services.AddSingleton(typeof(IEventService), typeof(EventService));
services.AddSingleton(typeof(IRemoteProviderService), typeof(RemoteProviderService));
services.AddSingleton(typeof(IConfigurationService), typeof(ConfigurationService));
await Task.CompletedTask;
}

View File

@ -16,7 +16,6 @@ public sealed class CoreStartup : IStartup
public async Task ConfigureServices(IServiceCollection services)
{
services.AddSingleton(typeof(IHttpService), typeof(HttpService));
services.AddSingleton(typeof(IConfigurationService), typeof(ConfigurationService));
await Task.CompletedTask;
}