Weight, next: I'm kind of having a conceptual question.
I started to implement my application (c # - forms) thinking of following the development based on the MVC architecture. But intuitively - and I do not know if it is conceptually correct - I ended up doing the following division (I put the image of the class diagram to facilitate):
Class 'main_form': responsible for displaying data and notifying user events and actions in the system interface to the 'arvoreCont' class.
Class 'arvoreCont': Receives form requests, requests data from the database by persistence class, applies business rules and returns to view .
Persistence class: does all communication with the database for inclusion, change, deletion and query of data (with where
filters).
'no', 'data', and 'transaction' classes that represent the application objects that are often used to pass data to the interface.
I do not know if I can conceptually consider using the MVC, because, from what I read, the persistence class should be along with the classes representing the objects. But for me, it makes sense to separate.
And what I initially treated as controller (class 'arvoreCont') was responsible for centralizing much of the business rule.
Can I say, based on this structure, that I use MVC? The initial intention was to use, but in the end, I do not know if I could. What do you think?