Motalib01 / PropeloService

MIT License
0 stars 0 forks source link

Generic Repository Pattern #1

Open yousef132 opened 2 months ago

yousef132 commented 2 months ago

You can use a generic repository instead of creating a separate repository for each entity. This approach will reduce code duplication and allow you to implement common functionalities—such as getting by ID, retrieving a list, creating, updating, and deleting—only once.

you can read more here.