I have three classes:
All have the following methods with the exception of RepositorioTravel which does not have the "Change". The Object can refer to the Driver, Applicant, and Travel classes.
I would like to know how to implement a single Interface for the 3 Repositories with the methods above in a generic way, so I can use any class I pass. Be added with Requester, Driver or Trip.