Example #1
0
        public static void RegisterDependency(this IServiceCollection services, AppSettings appsettings)
        {
            services.AddSingleton(appsettings);
            services.AddSingleton(appsettings.ConnectionString);

            //BusinessDependencyRegistry.RegisterDependency(services, appsettings);

            AutoMapperConfig.Bootstrap();
        }