using System.Collections.Generic;
namespace HelloWorldMvcApp
public class HomeController : Controller
public ActionResult Index()
Mapper.CreateMap<SourceType, TargetType>()
.ForMember(d => d.DateChanged, o => o.MapFrom(s => s.DateUpdated));
var source = new SourceType() { SourceId = 1, Value = "value", DateUpdated = DateTime.Today };
var target = Mapper.Map<TargetType>(source);