AutoMapper extensions
Installation
dotnet add package Structr.Collections.Extensions.AutomapperUsage
var list = new List<Foo>
{
new Foo { Id = 1, Name = "Bar"},
new Foo { Id = 2, Name = "Baz"}
};
var mappedCollection = mapper.MapList<FooDto>(list);Last updated