/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $player_position = PlayerPosition::findOrFail($id);
     $Player = Player::where('POZYCJA_ID_POZYCJA', $id)->get();
     if (!empty($Player)) {
         return redirect()->route('player_positions.index')->with('message', 'Nie mozna usunac -  posiada przypisanego piłkarza.');
     }
     $player_position->delete();
     return redirect()->route('player_positions.index')->with('message', 'Item deleted successfully.');
 }