public function myAuctions()
 {
     $auctions = Auction::getByState(Auth::user()->id);
     return view('auctions.myauctions')->withAuctions($auctions);
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $auctions = Auction::getByState();
     return view('admin.index')->withAuctions($auctions);
 }