public static void AddScope(this IContainerConfigurator container, Type interfaceDefinition, Type implementation)
 {
     container.Add(DependencyLifetime.Scoped, interfaceDefinition, implementation);
 }
 public static void AddSingleton <TInterface, TImplementation>(this IContainerConfigurator container)
     where TImplementation : class, TInterface
 {
     container.Add(DependencyLifetime.Singleton, typeof(TInterface), typeof(TImplementation));
 }