public static DIHelper AddAuthorizationManagerService(this DIHelper services) { services.TryAddScoped <AuthorizationManager>(); return(services .AddAzService() .AddTenantManagerService()); }