I am using a
ConsultationController to create a
Consultation record. I now want to be able to create a consultation record in my
RegisterController. What is the best way to handle this?
A few options that come to mind:
Usermodel to handle this.
Consultation::create()in all locations.
What is the best practice here? Which class should have the responsibility of creating a consultation?
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.