Skip to content

Instantly share code, notes, and snippets.

@miguelhughes
miguelhughes / MapperConfiguration.cs
Last active July 17, 2018 14:52
excerpt of current code to show current setup
//automapper configuration helper class
namespace Maps
{
public class MapperConfiguration
{
public static void ConfigureAutoMapperNew(IServiceCollection services)
{
Assembly mapsAssembly = typeof(MapperConfiguration).GetTypeInfo().Assembly;
services.AddAutoMapper(mapsAssembly);
}