app/Http/Controllers/UploadedTaskController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $task = UploadedTask::join("tasks","tasks.id","=","uploaded_tasks.taskId")
        ->select('tasks.*','uploaded_tasks.*','uploaded_tasks.id as ut_id','tasks.id as task_id')
        ->get();
        return $task;
    }
public function index ( ) { $ task = UploadedTask :: join ( " tasks " , " tasks.id " , " = " , " uploaded_tasks.taskId " ) -> select ( 'tasks.*' , 'uploaded_tasks.*' , 'uploaded_tasks.id as ut_id' , 'tasks.id as task_id' ) -> get ( ) ; return $ task ; }
Display a listing of the resource.
Display a listing of the resource .