From e7aa05bc77371853c2468860308bf406fc0ff5b7 Mon Sep 17 00:00:00 2001 From: Sean Alford Date: Wed, 17 Jul 2019 13:56:53 -0400 Subject: [PATCH] Update Part-I.md Modified instrunction for adding CreateMap(); mapping. --- docs/en/Tutorials/AspNetCore-Mvc/Part-I.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md b/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md index 460b5b7ebe..8b2f84e55b 100644 --- a/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md +++ b/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md @@ -204,7 +204,7 @@ namespace Acme.BookStore * This DTO class is used to get book information from the user interface while creating or updating a book. * It defines data annotation attributes (like `[Required]`) to define validations for the properties. DTOs are [automatically validated](../../Validation.md) by the ABP framework. -Like done for the `BookDto` above, create a mapping from the `CreateUpdateBookDto` object to the `Book` entity: +Next, add a mapping in `BookStoreApplicationAutoMapperProfile` from the `CreateUpdateBookDto` object to the `Book` entity: ````csharp CreateMap();