/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $order = _order::all();
     $order_detail = _order_detail::all();
     $book = _book::all();
     $repo = _repository::all();
     $repo_detail = _repository_detail::all();
     $user = _user::all();
     $keeper = _keeper::all();
     $logistic = _logistic::all();
     $book_store = array($order, $order_detail, $book, $repo, $repo_detail, $user, $keeper, $logistic);
     return view('app')->with('bookstore', $book_store);
     //
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $user = _user::find($id);
     $user->delete();
     return Redirect::to('/');
     //
 }