You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
774 B
26 lines
774 B
2 years ago
|
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<WmsWebApiApplicationModule>();
|
||
|
Configure<AbpAutoMapperOptions>(options =>
|
||
|
{
|
||
|
options.AddMaps<WmsWebApiApplicationModule>(validate: true);
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|