public override void ConfigureServices(ServiceConfigurationContext context)
        {
            AbpSettingManagementBsonClassMap.Configure();

            context.Services.AddMongoDbContext <SettingManagementMongoDbContext>(options =>
            {
                options.AddDefaultRepositories <ISettingManagementMongoDbContext>();

                options.AddRepository <Setting, MongoSettingRepository>();
            });
        }
        public override void ConfigureServices(IServiceCollection services)
        {
            AbpSettingManagementBsonClassMap.Configure();

            services.AddMongoDbContext <SettingManagementMongoDbContext>(options =>
            {
                options.AddDefaultRepositories <ISettingManagementMongoDbContext>();

                options.AddRepository <Setting, MongoSettingRepository>();
            });

            services.AddAssemblyOf <AbpSettingManagementMongoDbModule>();
        }