Automapper cheat sheet

Install the AutoMapper Nuget Package

Install-Package AutoMapper

How to perform a quick mapping

Mapper.CreateMap<SourceDto, TargetDto>();
return  Mapper.Map<TargetDto>(sourceObject);

Detail Configuration