Configure o AutomApper

builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());
Jay