mirror of https://github.com/abpframework/abp.git
11 changed files with 37 additions and 15 deletions
@ -0,0 +1,15 @@ |
|||||
|
using AutoMapper; |
||||
|
using Volo.Abp.AutoMapper; |
||||
|
using Volo.Docs.Documents; |
||||
|
|
||||
|
namespace Volo.Docs |
||||
|
{ |
||||
|
public class DocsWebAutoMapperProfile : Profile |
||||
|
{ |
||||
|
public DocsWebAutoMapperProfile() |
||||
|
{ |
||||
|
CreateMap<DocumentWithDetailsDto, NavigationWithDetailsDto>() |
||||
|
.Ignore(x => x.RootNode); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue