The business layer should be separated from the persistent layer, and the persistence layer should not be called in the action, and the business layer should be called.
How can I develop the procedures developed in line with the 5 principles of programming?
How can I improve my design capabilities?