Sonath
✅ Opinion time: Handling multiple id's in the same path (ASP.NET MVC)
I want to make surveys and survey submissions.
The URL will be something like
/surveys/1/submissions/2
indicating that I'm checking the survey with id 1 that has the submission of id 2. There will be CRUD with Entity Framework for both surveys and submissions.
Is this a good idea to use two different controllers, or can it be done on a single controller?7 replies
❔ Referencing new projects with the main project
Let's say I have a main project
CoreProject
and I want to add 2 new projects: a LoggerService
and a Contracts
.
The question is: Is it okay if I make LoggerService
have a project reference with Contracts
and then have CoreProject
have a project reference with LoggerService
?
Does this mean that CoreProject
also has a reference with Contracts
because LoggerService
has it?4 replies