Replies: 1 comment
-
You can implement the wrapping manually: [Mapper]
public static partial class Mapper
{
public static PersonListVM ToVM(this List<PersonDto> people) => new PersonListVM(people.ToVM());
private static partial List<PersonVM> ToVM(this List<PersonDto> people);
} |
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
-
Hi, is there an easy way to map a list to a viewmodel which accepts a list in the constructor? I tried the following but it doesn't work
Beta Was this translation helpful? Give feedback.
All reactions