using Erp.Languages; using Erp.Notifications.Application; using Erp.Reports; using Erp.Settings; using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Account; using Volo.Abp.Auditing; using Volo.Abp.AutoMapper; using Volo.Abp.FeatureManagement; using Volo.Abp.Identity; using Volo.Abp.Modularity; using Volo.Abp.PermissionManagement; using Volo.Abp.TenantManagement; namespace Erp.Platform; [DependsOn( typeof(PlatformDomainModule), typeof(AbpAccountApplicationModule), typeof(PlatformApplicationContractsModule), typeof(AbpIdentityApplicationModule), typeof(AbpPermissionManagementApplicationModule), typeof(AbpTenantManagementApplicationModule), typeof(AbpFeatureManagementApplicationModule), typeof(LanguagesApplicationModule), typeof(SettingsApplicationModule), typeof(NotificationApplicationModule), typeof(ErpReportsApplicationModule) )] public class PlatformApplicationModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAutoMapperObjectMapper(); Configure(options => { options.AddMaps(); }); Configure(options => { options.IsDynamicPermissionStoreEnabled = true; options.SaveStaticPermissionsToDatabase = true; }); // ListFormCustomization için audit kaydı kapatılıyor Configure(options => { options.IgnoredTypes.Add(typeof(Entities.ListFormCustomization)); }); } }