render('Admin.Shop.Customers.list', $data); } public function create() { return view('Admin.Shop.Customers.create'); } public function store(Request $request) { $ret = Customers::store($request->all()); return redirect()->route('Admin.Shop.Customers.index'); } public function show($id) { $data['customer'] = Customers::get($id); return view('Admin.Shop.Customers.view', $data); } public function edit($id) { $data['customer'] = Customers::get($id)->toArray(); return view('Admin.Shop.Customers.edit', $data); } public function destroy($id) { return Customers::destroy($id); } }