It's kind of hard to follow what's going on because your code is not properly formatted.
Also, your directory structure is a bit weird: app/ComdexxSolutions/Http/Controllers. The standard directory structure is app/Http/Controllers.
Another weird thing is your namespace. You namespaced your class as ComdexxSolutions\Http\Controllers, but if that is your directory structure, it should be App\ComdexxSolutions\Http\Controllers.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.