The issue is intended to fix a mistake done in a haste. The current structure of the backend consists of 2 main interface files - Repositories and Services. The current implementation follows this pattern:
- Incorrect pattern :
Controller -> Repository -> Service i.e. controller calls repository and repository calls service
- Correct pattern:
Controller -> Service -> Repository i.e. controller calls service and service calls repository
This must be fixed.
The issue is intended to fix a mistake done in a haste. The current structure of the backend consists of 2 main interface files - Repositories and Services. The current implementation follows this pattern:
Controller->Repository->Servicei.e. controller calls repository and repository calls serviceController->Service->Repositoryi.e. controller calls service and service calls repositoryThis must be fixed.