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.
29 lines
875 B
29 lines
875 B
2 years ago
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
using Volo.Abp.Application;
|
||
|
using Volo.Abp.AutoMapper;
|
||
|
using Volo.Abp.Modularity;
|
||
|
using Win_in.Sfs.Basedata.Application.Contracts;
|
||
|
using Win_in.Sfs.Basedata.Domain;
|
||
|
using Win_in.Sfs.Shared.Application;
|
||
|
|
||
|
namespace Win_in.Sfs.Basedata.Application;
|
||
|
|
||
|
[DependsOn(
|
||
|
typeof(BasedataDomainModule),
|
||
|
typeof(BasedataApplicationContractsModule),
|
||
|
typeof(AbpDddApplicationModule),
|
||
|
typeof(AbpAutoMapperModule),
|
||
|
typeof(SharedApplicationModule)
|
||
|
)]
|
||
|
public class BasedataApplicationModule : AbpModule
|
||
|
{
|
||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||
|
{
|
||
|
context.Services.AddAutoMapperObjectMapper<BasedataApplicationModule>();
|
||
|
Configure<AbpAutoMapperOptions>(options =>
|
||
|
{
|
||
|
options.AddMaps<BasedataApplicationModule>(validate: true);
|
||
|
});
|
||
|
}
|
||
|
}
|