Now I haven’t computer with development enviroment with me to test, but I thing you forgot put return statment in opt lambda funtion:
CreateMap<Item, ItemToReturnDto>() .ForMember(dest => dest.ItemImages, opt => {return opt.MapFrom(src => src.ItemImages); }
If you could paste some more code of how you is call map funtion, we could help you.
4
solved occurred using the connection to database ‘ESCRestaurantDB’ on server ‘.\SQLEXPRESS’ [closed]