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<AbpVirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<LifePaymentServicesApplicationModule>(typeof(LifePaymentServicesApplicationModule).Namespace);
});
context.Services.AddAutoMapperObjectMapper<LifePaymentServicesApplicationModule>();
Configure<AbpAutoMapperOptions>(options =>
{
options.AddProfile<LifePaymentServicesApplicationModuleAutoMapperProfile>(validate: true);
});
}
}
}