I have:
- DAL layer -> entities and DbContext (Entity Framework)
- BLL layer -> services
- UI layer -> Razor Pages
My services in BLL layer converts entities to data transfer objects and returns data transfer objects to UI layer. The UI layer also passes data transfer objects to BLL service.
Should I place data transfer objects in BLL layer or create a separate layer?