cancel
Showing results for 
Search instead for 
Did you mean: 

Combining two model repository

Combining two model repository

Hello all, 

 

Say that i have two repository for User And product, i already created the repository for both of the model and will return json off all user and product in two different API.

My question is can i combine those two collection repository so i can have one API that will return both User collection and Product collection

 

thanks