| @@ -121,6 +121,8 @@ class Controller extends BaseController | |||
| public function getDatabase(Request $request) | |||
| { | |||
| $company = Company::all(); | |||
| return $company; | |||
| $company = Company::where('name', 'Innomapps Sdn Bhd')->first(); | |||
| $staff = Staff::where('email','dealer@test.my')->first(); | |||
| $staff->company_id = $company->_id; | |||