Skip to content

Conversation

ddidgdimitrov-infragistics
Copy link
Collaborator

-Introduce BaseDto and BaseDb to centralize common properties and functionality.
-Refactor with BaseNorthwindAPIController to eliminate redundant code across controllers.
-Implement BaseDbService to streamline business logic and reduce repetition in controllers.
-Remove direct database interactions from controllers, delegating all logic to services.
-Remove database objects from tests, ensuring all logic is managed through services for better testability.

When AB is ready, we will update all DTOs to have internal setters for IDs and pass the ID via query parameters for the PUT update method. The Update method in BaseDbService is already prepared for this change. I will submit a PR for this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants