using Microsoft.AspNetCore.Authentication; namespace PARR.API.RoleProvider { public static class SimpleRoleAuthorizationServiceCollectionExtensions { public static void AddSimpleRoleAuthorization(this IServiceCollection services) where TRoleProvider : class, ISimpleRoleProvider { services.AddSingleton(); services.AddSingleton(); } } }