Is it possible to map a list of models to a list of DTOs? #553
theericharms
started this conversation in
General
Replies: 1 comment
-
|
You can do that like this: const inviteVMList = mapper.mapArray(invites, Invite, InviteVM); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is it possible to do something like this, to map a list of models to a list of DTOs?
In C# Automapper, its done like this
I can't seem to find any documentation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions