erp-platform/api/modules/Erp.Notifications/Erp.Notifications.Application/NotificationApplicationModule.cs
2025-11-11 22:49:52 +03:00

26 lines
772 B
C#

using Erp.Notifications.Domain;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
namespace Erp.Notifications.Application;
[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);
});
}
}