© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
17 replies
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ i don't know how to start.
C#CC# / help
4y ago
I don't know how to do this
C#CC# / help
2y ago
✅ How should I structure 'exit points' in my program?
C#CC# / help
4y ago
I don't know how to set this parameter + how to output my final
C#CC# / help
4y ago