/**
  * Display a listing of the resource.
  *
  * @param Request $request
  * @return \Illuminate\Http\Response
  */
 public function index(Request $request)
 {
     $lang = $request->input('lang');
     $products = $this->orderService->getMostExpensiveProducts($lang);
     return view('products.index', compact('products'));
 }
 /**
  * Store a newly created resource in storage.
  *
  * @param $id
  * @return \Illuminate\Http\Response
  */
 public function store($id)
 {
     $this->orderService->checkout($id);
 }