Jak dodać Automapper w .NET 6

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