public IMapper CreateMapper(IMapperEntity mapperEntity) { var config = new MapperConfiguration(cfg => { mapperEntity.Mapper(cfg); }); return(config.CreateMapper()); }
public MapperProfile(IMapperEntity mapperEntity) { this._mapperEntity = mapperEntity; }