MPACore.PhoneBook
MPACore.PhoneBook copied to clipboard
persons.MapTo<List<PersonListDto>>(); 方法过时了
[Obsolete("Automapper will remove static API, Please use ObjectMapper instead. See https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4667")]
现在要改成什么方法
Change to ObjectMapper.Map<List<PersonListDto>>(persons) will work
用不了ObjectMapper,是怎么回事
用不了ObjectMapper,是怎么回事
你注入了吗