This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//automapper configuration helper class | |
namespace Maps | |
{ | |
public class MapperConfiguration | |
{ | |
public static void ConfigureAutoMapperNew(IServiceCollection services) | |
{ | |
Assembly mapsAssembly = typeof(MapperConfiguration).GetTypeInfo().Assembly; | |
services.AddAutoMapper(mapsAssembly); | |
} |