/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function addOrder()
 {
     //
     $dealers = \App\Dealer::orderBy("name", "asc")->lists("name", "id")->toArray();
     $manufacturers = \App\Manufacturer::orderBy("name", "asc")->lists("name", "id")->toArray();
     $dealers = array('' => 'Select dealers') + $dealers;
     $manufacturers = array('' => 'Select manufacturers') + $manufacturers;
     return view("users.orders.add", ['manufacturers' => $manufacturers, 'dealers' => $dealers]);
 }
 function getManufacturers()
 {
     $manufacturers = \App\Manufacturer::orderBy('name')->paginate(15);
     return view("admin/manufacturers/list", ['manufacturers' => $manufacturers]);
 }