Skip to content

Commit

Permalink
Update Readme.Md.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza-Noei committed Jun 29, 2024
1 parent 891608b commit 095cd92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/BSN.Commons.AutoMapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Install-Package BSN.Commons.AutoMapper
```

### 2. Add Your required mapping profiles
To use these predefined mapping profiles and injecting your prefered profiles you just need to add following line in the `ServiceCollection`:
To use these predefined mapping profiles and injecting your preferred profiles you just need to add following line in the `ServiceCollection`:
```
services.AddAutoMapper(config => config.AddProfile<YourMappingProfile>());
```
Expand All @@ -29,7 +29,7 @@ services.AddAutoMapper(config =>

### 3. Predefined mapping profile:

Provided builtin mapping profile contains following mappings:
Provided built in mapping profile contains following mappings:

#### PagedEntityCollectionToMetaDataConverter:
A default converter which converts `PagedEntityCollection<TDomain>` to `PaginationMetadata`.
Expand Down

0 comments on commit 095cd92

Please sign in to comment.