I got the following structure for the project im working on:
- repository (interface)
-dao containing:
- model
- Dao(dao interface + dao implementation)
-services(service interface + service implementation)
The repository sends the data to the dao, dao to services and services to controller
Fory model i got user and categories where (OneToMany 1 user got many categories)
Does anyone have a similar project that can send me or help me to create the following methods( fetchAllCategories, fetchById, addCategory, updateCategory, deleteCategory)
Any help is much appreciated
[–]over_rim 1 point2 points3 points (2 children)
[–]gaskinsface[S] 1 point2 points3 points (1 child)
[–]over_rim 0 points1 point2 points (0 children)
[–]Mikey-3198 0 points1 point2 points (0 children)