You are only able to share the same function in a Controller, if they both extend the same parent.
Movies extends Example
Games extends Example
Movies and Games can now access functions in Example.
Or you need to add your functionally to a library, so you can share functions that way.