Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • 1
    (1+). My question is basically a result of a XY problem. I know that model should not contain selectedPerson. selectedPerson has nothing to do with my business logic. My question was created when I wanted 2 controllers act when the selected person changes. I was reading around the web "if 2 controllers need the same information, this information should be in model", or "a controller should depend only on a single view". I recently discovered how wrong this is. I also found out how many bad suggestions exist on the web. Commented Jun 21, 2021 at 17:47