using Microsoft.Extensions.DependencyInjection; using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; using Volo.Abp.Application; namespace WmsWebApi { [DependsOn( typeof(WmsWebApiDomainModule), typeof(WmsWebApiApplicationContractsModule), typeof(AbpDddApplicationModule), typeof(AbpAutoMapperModule) )] public class WmsWebApiApplicationModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAutoMapperObjectMapper(); Configure(options => { options.AddMaps(validate: true); }); } } }