I have a problem. I have a list of companies List<Company>
I need to write a method where I send that list and other lists like List<store>
or List<p>
...
The point is that I have tried using a method like
fillField(List<object> list)
but I get an error
the company cannot be converted to object
My question is: do not all of the entities inherit from object
?
How do I have to change the method?
Thank you