/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $request) { $customer = $this->customer->getAll(); return view('customer.index', compact('customer')); }