forgot this in extension method.

This commit is contained in:
David Lebee 2021-08-11 16:31:28 -04:00
parent dc031e02fe
commit ff3860bf50

View File

@ -4,7 +4,7 @@ namespace PoweredSoft.Module.Abstractions
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddModule<T>(IServiceCollection services)
public static IServiceCollection AddModule<T>(this IServiceCollection services)
where T : IModule, new()
{
var module = new T();