Outline

Demo: Configure AutoMapper

In the Conduit.Api Project

Modify Startup.cs file
  • Immediately after service.AddDbContext... add services.AddAutoMapper
  • It takes a lambda expression
    • Map Account to User
    • Map Person to User