Welcome Guest, Not a member yet? Register   Sign In
Is conceptually correct to access DB from Controller?
#4

There are nothing in the code that's stopping you of doing so. If you need to access one table, only ones, in an controller. It may be just worth it. But you are technically breaking MVC, but I have done it for small things.
Reply


Messages In This Thread
RE: Is conceptually correct to access DB from Controller? - by jreklund - 04-25-2020, 01:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB