Ошибка: CS1729 MapPerConfiguration не содержит конструктор, который берет 1 аргументы.
Код: Выделить всё
var config = new MapperConfiguration(
options =>
{
options.AllowNullDestinationValues = true;
options.AllowNullCollections = true;
options.AddProfile(new AutomapperProfiles());
});
Подробнее здесь: https://stackoverflow.com/questions/797 ... at-takes-1