change controller method name to CRUD
fix var name for repo and inventory