One could use abstract classes for SQLQueries to be able to mock it. There are many other improvements to be made in this domain. See here for a tutorial from ResoCoder.
Moreover, one could follow a Clean Architecture concept to make the project loosely coupled.
One could use abstract classes for
SQLQueriesto be able to mock it. There are many other improvements to be made in this domain. See here for a tutorial from ResoCoder.Moreover, one could follow a Clean Architecture concept to make the project loosely coupled.