pschelpdesk/HetznerServer/HetznerServerBootstrap.cs
2024-11-04 11:28:08 +01:00

18 lines
444 B
C#

using PSCHelpdesk.Plugins.HetznerServer.ViewModels;
namespace PSCHelpdesk.Plugins.HetznerServer;
using Microsoft.Extensions.DependencyInjection;
using Prise.Plugin;
[PluginBootstrapper(PluginType = typeof(HetznerServer))]
public class HetznerServerBootstrap : IPluginBootstrapper
{
public IServiceCollection Bootstrap(IServiceCollection services)
{
services.AddTransient<ServerViewModel>();
return services;
}
}