maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/BloggingApplicationAutoMapperProfile.cs
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
using AutoMapper; |
|
|
|
using AutoMapper; |
|
|
|
using Volo.Abp.AutoMapper; |
|
|
|
using Volo.Blogging.Blogs; |
|
|
|
using Volo.Blogging.Blogs.Dtos; |
|
|
|
@ -24,7 +24,8 @@ namespace Volo.Blogging |
|
|
|
CreateMap<PostCacheItem, PostWithDetailsDto>() |
|
|
|
.IgnoreModificationAuditedObjectProperties() |
|
|
|
.IgnoreDeletionAuditedObjectProperties() |
|
|
|
.Ignore(x=>x.Writer) |
|
|
|
.Ignore(x => x.ConcurrencyStamp) |
|
|
|
.Ignore(x => x.Writer) |
|
|
|
.Ignore(x => x.CommentCount) |
|
|
|
.Ignore(x => x.Tags); |
|
|
|
} |
|
|
|
|