C#C
C#3y ago
LeviCoding

I don't know how to structure my program...

So we have to write a program about shipping companies containing fleets and fleets containing different kind of ships. I already made a IshipRepository in the domainlayer and a ShipRepository in the databaselayer. But now is my question we also have to keep a list of shipping companies and fleet. Do I make a repository for each of them or not? If I use one repository for all of them how ould it look like? We are not using databases yet but storing the objects in lists
Was this page helpful?