Ive been looking for an answer to the code ive made but I cant find any solutions and the reason why its giving me this error.
Im trying out mapping my Object1 to Object2 but I got this error, not sure what i missed on my code.
Object1 obj1 = this._mapper.Map<Object1>(new Object2());
I have tried this different approach too but I still got error
//var obj1 = _mapper.Map<Object1>(request.Object2);
Error:
type": "https://httpstatuses.com/500",
"title": "Internal Server Error",
"status": 500,
"detail": "Missing type map configuration or unsupported mapping.\r\n\r\nMapping types:\r\nObject -> Object1 ...... -> ......",