I have a REST API project developed using asp.net core 3.1 for the API tier and there is a class library project which acts as repository layer for the API project. Taking into consideration the complexity of the project the entire repository tier is segregated to five modules ( A, B, C, D , E). All the modules host the code related to the repository tier. I wanted to leverage Mapster as mapper in this class library. I tried to find reference application in context to this scenario but did not come across any solution.
Here are my challenges in context to this implementation :
Configure mapster across each module (A, B, C, D, E)
Reference the above mapster configuration in the asp.net core web api project.
Can anyone help me here by providing their guidance?