In asp.net core app within Configure method of Startup class I have
Mapper.AddMap<Guid, string>(src =>
{
return src.ToString();
});
which doesn't get used when calling Mapper.Map()
response.Items = docs.Select(d => Mapper.Map<DocumentSearchViewResponse>(d));
The corresponding string properties that should be filled with string representation of Guid are empty/null.
In asp.net core app within Configure method of Startup class I have
which doesn't get used when calling Mapper.Map()
response.Items = docs.Select(d => Mapper.Map<DocumentSearchViewResponse>(d));The corresponding string properties that should be filled with string representation of Guid are empty/null.