I try to use AutoMapper in my .Net Core 2.0 Console Application. My class looks like this:
public class AutoGetCurrency
{
private readonly IMapper mapper
You need to map a concrete class that implements IMapper. I followed Automapper documentation and it worked fine, it would be more efficient to show their documentation than writing you code there and I don't want copy / paste their sample
http://automapper.readthedocs.io/en/latest/Dependency-injection.html
But it would be like this: services.AddTransient