I have the classes:
public class Person{ /* Props here */ }
public class PersonViewModel { /* Props here */ }
Then the list:
List<Person> people = new List<Person>();
List<PersonViewModel> peopleVM = Mapper
.MapList<Person, PersonViewModel>(people); //Problem here.
What is the correct way to do this?
See Question&Answers more detail:os