Como adicionar o AutomApper no .net 6
builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());
Jay
builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());