Best way to add CRUD to routers without duplicate code

Is there a best practise on how to add CRUD functionality to multiple routers without repeating the code for it?
Was this page helpful?