add methods for generic CRUD controller