using LifePayment.Application.Contracts; using LifePayment.Domain; using Microsoft.Extensions.DependencyInjection; using Volo.Abp; using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; using Volo.Abp.VirtualFileSystem; namespace LifePayment.Application { [DependsOn(typeof(LifePaymentServicesDomainModule), typeof(LifePaymentServicesApplicationContractsModule), typeof(AbpBaseFeatureModule))] public class LifePaymentServicesApplicationModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure(options => { options.FileSets.AddEmbedded(typeof(LifePaymentServicesApplicationModule).Namespace); }); context.Services.AddAutoMapperObjectMapper(); Configure(options => { options.AddProfile(validate: true); }); } } }