public void Configure(AnyServiceConfig config) { MappingExtensions.AddConfiguration(config.MapperName, cfg => { cfg.CreateMap <CategoryModel, Category>() .ForMember(dest => dest.AdminComment, mo => mo.Ignore()); }); }
public void Configure(AnyServiceConfig config) { MappingExtensions.AddConfiguration(config.MapperName, cfg => { cfg.CreateMap <CategoryModel, Category>() .ForMember(dest => dest.AdminComment, mo => mo.Ignore()); }); }