Browse Source

Update docs/en/Community-Articles/2024-05-09-what-is-object-to-object-mapping/post.md

Co-authored-by: Engincan VESKE <enginveske@gmail.com>
pull/19759/head
Enes Doner 2 years ago
committed by GitHub
parent
commit
07081b7139
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/Community-Articles/2024-05-09-what-is-object-to-object-mapping/post.md

2
docs/en/Community-Articles/2024-05-09-what-is-object-to-object-mapping/post.md

@ -117,7 +117,7 @@ CreateMap<Customer, CustomerGetDto>().ForMember(c=>c.FullName,opt=> opt.MapFrom(
````
This script concatenates and matches **FirstName** and **LastName** in the **FullName** field and subtracts **BirthDate** from today's year and assigns it to the customer's **Age**
When you make a request, your output will look like the one below.
After these configurations, if you make a request to the relevant endpoint, the output will look like as below:
![Swagger](./images/swagger2.png)

Loading…
Cancel
Save