Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Override controller methods #922

Answered by adrianhall
PabloRuiz-TT asked this question in Q&A
Discussion options

You must be logged in to vote

In that case, I think you would be better off using a wrapper around the EntityTableRepository. Take a look at the MappedRepository (which is based on Automapper) as an example. That one is only a couple of dozen lines of code and does what you want. Even if you don't want to use Automapper, you can use that as a guide to implementing your own transforms.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PabloRuiz-TT
Comment options

@adrianhall
Comment options

Answer selected by adrianhall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants