我有课程:
public class Person{ /* Props here */ }
public class PersonViewModel { /* Props here */ }
然后列出:
List<Person> people = new List<Person>();
List<PersonViewModel> peopleVM = Mapper
.MapList<Person, PersonViewModel>(people); //Problem here.
正确的方法是什么?