I am getting an error
Error: CS1729 MapperConfiguration does not contain constructor that takes 1 arguments.
from this code:
var config = new MapperConfiguration(
options =>
{
options.AllowNullDestinationValues = true;
options.AllowNullCollections = true;
options.AddProfile(new AutomapperProfiles());
});
Tried adding a NuGet package for Automapper.