erp-platform/api/modules/Erp.Notifications/Erp.Notifications.Application/NotificationApplicationModule.cs

27 lines
772 B
C#
Raw Normal View History

2025-11-11 19:49:52 +00:00
using Erp.Notifications.Domain;
2025-05-06 06:45:49 +00:00
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
2025-11-11 19:49:52 +00:00
namespace Erp.Notifications.Application;
2025-05-06 06:45:49 +00:00
[DependsOn(
typeof(NotificationDomainModule),
typeof(NotificationApplicationContractsModule),
typeof(AbpDddApplicationModule),
typeof(AbpAutoMapperModule)
)]
public class NotificationApplicationModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddAutoMapperObjectMapper<NotificationApplicationModule>();
Configure<AbpAutoMapperOptions>(options =>
{
options.AddMaps<NotificationApplicationModule>(validate: true);
});
}
}
2025-11-11 19:49:52 +00:00