sozsoft-platform/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationModule.cs

27 lines
780 B
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using Sozsoft.Notifications.Domain;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
namespace Sozsoft.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);
});
}
}