Use AutoMapper to map one object to another in ASP.NET Core

While developing ASP.NET Core web applications you often need to transfer data residing in one object into another. You can accomplish this task manually by setting properties of the target object with the values from the source object. But wouldn't it be nice if this task can be automated? That's what the AutoMapper library is about. In this article you learn to use AutoMapper in an ASP.NET Core application.

http://www.binaryintellect.net/articles/f1fdc9fd-91be-435c-8ace-b74e848db914.aspx