private static void DependencyInjectionInit() { var services = new ServiceCollection(); services.AddInternalServices(); var provider = services.BuildServiceProvider(); _passwordStrengthService = provider.GetService <IPasswordStrengthService>(); }
public PasswordStrengthController(IPasswordStrengthService passwordStrengthService) { this.PasswordStrengthService = passwordStrengthService; }