As part of the subsystem to fence the facade? Or something else?

Hi all.
Tell me about patterns and architecture.
This: there are several classes each contain an instance(s) predshestvuyuschih.

The course contains lessons, a lesson includes a test, the test contains questions the question contains the answers.

Decided that we should make this into a subsystem/module.
it seems like it's the facade of doing as I understand it.
Did the facade, there max moved logic from controllers.
it turned out overmanage methods
in my opinion, much better not. removed the facade.
here I think as it is the mind to do?
June 8th 19 at 17:31
1 answer
June 8th 19 at 17:33
Not quite understand the question. What requires improvement, what is the purpose?
Partitioning the system into subsystems, hiding the implementation, improve readability. - Harry.Lehn commented on June 8th 19 at 17:36
The facade is simple control and combining objects:Фасад_(sablonok... - kip.Runolfsson64 commented on June 8th 19 at 17:39
I know what is a facade. - Harry.Lehn commented on June 8th 19 at 17:42
It is not clear how you want to use the system/module?
What problems are faced?

I have to work with the facade... you judging by the description will need to add tests or test questions, you are through the facade to do want? - Mohamed_Lind75 commented on June 8th 19 at 17:45
In controllers in the first place.
The problem is the controllers a lot of unnecessary movements
now they look like this
want to brush it. - Harry.Lehn commented on June 8th 19 at 17:48
Subsystem in your case, most likely, a layer of services. The one that is responsible for the business logic. You can transfer the crud operations in the repository layer. And with the services layer, to contact them. Vzaimosvjazi layers well insulation will go through the interfaces. Something like that. - holly61 commented on June 8th 19 at 17:51

Find more questions by tags OOPPatterns of designing