Welcome Guest, Not a member yet? Register   Sign In
How develop Model and validation
#4

I think bettet create service class for handling logic process. You can use multiple model (example save log history), and also if you want to create REST Api login, you just call this service class. You can prevent duplicating code for login. Read ADR pattern.

Hope this help
Reply


Messages In This Thread
RE: How develop Model and validation - by asrofie - 01-13-2020, 08:33 AM
RE: How develop Model and validation - by Mad Ox - 01-14-2020, 05:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB