I got an error about \"mapping\" when I try to insert an entity.
The insert is made by the Create method of a CrudAppService. My entity inherits from
Create
Required mapping direction:
PostDto -> Post (Destination member list)
[AutoMapFrom(typeof(Post))] configures Post -> PostDto here:
[AutoMapFrom(typeof(Post))]
Post -> PostDto
[AutoMapFrom(typeof(Post))] public class PostDto : EntityDto
To configure for both directions, simply do:
[AutoMap(typeof(Post))] public class PostDto : EntityDto