4 ms·
Isn't this package just a different solution for a Repository Pattern? Create a repository class which contains all the objects and methods for the API and the
by Liquidor 5y ago
Isn't this package just a different solution for a Repository Pattern?
Create a repository class which contains all the objects and methods for the API and then use this repository as a bridge between the API and your controllers.
Business and data access logic can be tested separately and it's easier to maintain.