Automapper executes without error, but no data being copied from source to destination #3650
sforsandeep
started this conversation in
NA
Replies: 1 comment
-
https://docs.automapper.org/en/latest/Lists-and-arrays.html |
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.
-
I have a class like this
And here is my model class to which I need the above API class to get copied
So here is my code I tried
And here is my automapper profile
But when the code executes, Ofcourse I am getting the data in results variable without any trouble
But when the mapper code fires, it execute the line without any error, but no data being copied from source to my model class which is the destination
jM.count is always 0 when Results hold 124 rows of data
What I did wrong
Beta Was this translation helpful? Give feedback.
All reactions