| 1234567891011121314151617181920 |
- <?php
- namespace App\Http\Controllers\admin;
- use App\Http\Controllers\AgentApiController;
- use App\Services\Agent\AgentApplicationService;
- use App\Services\Agent\AgentService;
- class AgentApplication extends AgentApiController
- {
- public function index(AgentApplicationService $service)
- {
- return $this->execute(fn () => $service->listing(request()->all()));
- }
- public function audit(AgentApplicationService $service, AgentService $agents)
- {
- return $this->execute(fn () => $service->audit(request()->all(), $agents));
- }
- }
|