using PSCHelpdesk.Plugins.HetznerServer.ViewModels; using PSCHelpdesk.Shared.Service; namespace PSCHelpdesk.Plugins.HetznerServer; using Microsoft.Extensions.DependencyInjection; using Prise.Plugin; [PluginBootstrapper(PluginType = typeof(HetznerServer))] public class HetznerServerBootstrap : IPluginBootstrapper { //[BootstrapperService(ServiceType = typeof(IMenuService), ProxyType = typeof(MenuService))] //private readonly IMenuService menuService; public IServiceCollection Bootstrap(IServiceCollection services) { //services.AddSingleton(this.menuService); services.AddTransient(); return services; } }