Closed sonsy-soft closed 2 years ago
after i run the program
in mapping configuration class : Iregister
i use MapContext.current to get service but it will be null
.Map(dest => dest.MiniID, src => MapContext.Current.GetService<IMinifyNumber>().Encode(src.Id))
eception
Mapping must be called using ServiceAdapter
after i run the program
in mapping configuration class : Iregister
i use MapContext.current to get service but it will be null
.Map(dest => dest.MiniID, src => MapContext.Current.GetService<IMinifyNumber>().Encode(src.Id))
eception
Mapping must be called using ServiceAdapter