How to prevent duplicate Crud actions

one design question:

if i have always the same default crud actions in my controller…

whats the best way to prevent duplicate code?

put it all in a parent CrudController and let my controller inherit,

or build actions for create update etc and insert them in the specific controller where i need them

whats best? advantages? disadvantages?

Hope it helps https://github.com/ElisDN/crud-actions